Expression not callable

I remember using authClient.useSession() in other project last semester, but now, it keeps telling me its not callable anymore... how should I do it?
No description
3 Replies
Ping
Ping4d ago
is your authClient importing createAuthClient from better-auth/react?
braasil
braasilOP4d ago
oh it auto imported from /client ggs thanks
Ping
Ping4d ago
no worries!

Did you find this page helpful?