StoicWandererS
Convex Community3y ago
2 replies
StoicWanderer

How to use isAuthenticated and Convex mutation in Next.js?

I want to finish my hackathon entry, although I didn't have time to submit anything, so, I use Auth0 in my project and i can't use useEffect because i have isAuthenticated in my navbar in 2 places to verify if the user is logged in or not, because this way when I wanto mutate the user data into my Convex database I receive 2 or 3 entries which is not what I want for ONE single user.
https://github.com/andrejmoltok/oceans5/tree/main/src/pages/components
GitHub
Oceans5, a WebDevCody Hackathon entry. Contribute to andrejmoltok/oceans5 development by creating an account on GitHub.
oceans5/src/pages/components at main · andrejmoltok/oceans5
Was this page helpful?