Loosing auth after rerender in "use client" componenent
I have a nextjs client component in hwich i want to conditionaly show if the user is logged in or not
On the first render everything works, but after that it rerenders and isAuthenticated is false
I can't use the server auth here cause the parent component is client allready
Why am i loosing auth on rerender ?
1 Reply
nvw ... i showed login when user is auth not when user is not auth