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

Add the 'use client' directive to the react auth_helpers #10

Open
RubenPera opened this issue Apr 16, 2024 · 0 comments · May be fixed by #11
Open

Add the 'use client' directive to the react auth_helpers #10

RubenPera opened this issue Apr 16, 2024 · 0 comments · May be fixed by #11

Comments

@RubenPera
Copy link

Hey guys,

Currently the auth_helpers don't work in Nextjs app router server-side rendered components because they use the useConvexAuth hook, and they haven't declared they are to be run on the client. Could you please add the 'use client' directive at the top of the auth_helpers?

@RubenPera RubenPera linked a pull request Apr 16, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant