Ashraf Elshaer
Ashraf Elshaer
BABetter Auth
Created by Ashraf Elshaer on 4/10/2025 in #help
useSession is not is not callable ?
need help with the clients hooks every client hook gives me a typescript error like this This expression is not callable. No constituent of type 'Atom<{ data: { session: { userAgent: string | null | undefined; id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; }; user: { ...; }; } | null; error: BetterFetchError | null; isPending: boolean; }>' is callable.ts(2349)
9 replies