Preheat the oven to 350 F. In a medium bowl, whisk together flour, salt, baking soda, cinnamon and ginger. In a large bowl, combine butter with sugar and molasses until smooth.
Add in the egg and vanilla extract and mix until smooth. Add in the flour mixture and mix until it is fully combined. Roll the cookie dough into balls and place onto a large ungreased baking sheet at least 2-inches apart. Bake for 10-12 minutes.
Remove from the oven and top with chocolate hearts.