Pending state not resolving!

When I am refreshing, the pending state of useSession hook is not resolving! Please if any one could help ๐Ÿ™

const { data: session, isPending, //loading state } = authClient.useSession();

auth-client.js
import { createAuthClient } from "better-auth/react" export const authClient = createAuthClient({ baseURL: process.env.NEXT_PUBLIC_APP_URL, // the base url of your auth server }) export const { signIn, signOut, useSession, getSession } = authClient;
image.png
image.png
Was this page helpful?