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

invalid Hook Call: Hooks can only be called inside of the body of a function component. #67

Open
adamchamp opened this issue Jun 24, 2023 · 1 comment

Comments

@adamchamp
Copy link

I have been having this problem with a few other projects, but when I run the react app I get this
image
I haven't set up the UI entirely yet, Im at 2:19:00 of the video so the pages should just have the page names currently but I get this error.

@Alex-P3rrot
Copy link

You simply called a hook outside of a function, check all your 'use...' calls

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

2 participants