import { createAuthClient } from"better-auth/react";
exportconst authClient = createAuthClient({
/** The base URL of the server (optional if you're using the same domain) */baseURL:
typeofwindow !== "undefined"
? window.location.origin
: "http://localhost:5173",
});