convex-js
convex-js copied to clipboard
Add the 'use client' directive to the react `auth_helpers`
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
?