export default Page; import { reload } from "vike/client/router"; import { usePageContext } from "vike-react/usePageContext"; import { hc } from "hono/client"; import type { AuthRPCType } from "~/lib/auth"; import User from "./User"; function Page() { const client = hc("/"); const session = usePageContext().auth ?? {}; return ( <>

Account

{JSON.stringify(session, null, 2)}
); }