convex-js icon indicating copy to clipboard operation
convex-js copied to clipboard

Add the 'use client' directive to the react `auth_helpers`

Open RubenPera opened this issue 10 months ago • 0 comments

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 avatar Apr 16 '24 12:04 RubenPera