NanaGaisieN
Convex Community2y ago
3 replies
NanaGaisie

User Identity returns null when using useQuery

I am using nextjs for my project. When using useQuery in the client, the user identity initially returns the user object but returns null after a short while. The component keeps flickering alternating from authenticated state to non-authenticated state.

Am I doing anything wrong?
page.tsx1.03KB
Was this page helpful?