useSession returns null
Anyone knows why useSession returns null?
1) no cookie prefix or any cookie name customization
2) i can see cookie logs(in middleware)
3)but i get null from useSession
4) auth client looks like this
1) no cookie prefix or any cookie name customization
2) i can see cookie logs(in middleware)
3)but i get null from useSession
4) auth client looks like this

Solution
thanks! i realize that when you render something depdening on the session data and it's null at the begining, it just stops there and wont continue