Preheat the oven to 350 F. In a medium bowl, whisk together flour, salt, and baking soda. In a large bowl, mix butter with mashed banana and sugar until fluffy. Add in the egg and vanilla extract until smooth. Add in the flour mixture until it is fully combined.