useUser() return undefined after changing locale Clerk
Unanswered
Rex posted this in #help-forum
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.
First 2 images (useUser and useEffect) are from Homepage, and the changing of the locale happens in the layout of that page.