Function call in hook with React - Kevin Powell - Community