Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[scrollycoding] FocusButton warning #73

Closed
pomber opened this issue Jul 11, 2021 · 0 comments
Closed

[scrollycoding] FocusButton warning #73

pomber opened this issue Jul 11, 2021 · 0 comments

Comments

@pomber
Copy link
Contributor

pomber commented Jul 11, 2021

Warning: Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks
    at FocusButton (scrollycoding-preview/node_modules/@code-hike/scrollycoding/dist/index.cjs.js:368:23)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant