how to add user role to session.user and conditionally render something based on role
I made a new router called userRouter that is enabled when there is a session but the issue is it takes a full second before the condition user.role === something turns from undefined to true
1 Reply
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View