Next.js Discord

Discord Forum

useUser() return undefined after changing locale Clerk

Unanswered
Rex posted this in #help-forum
Open in Discord
RexOP
Hi, I'm using next-intl 18 and Clerk, when I change locale on the pathname, the user turns undefined.
First 2 images (useUser and useEffect) are from Homepage, and the changing of the locale happens in the layout of that page.

0 Replies