export async function getSession(): Promise<ReturnType<typeof useSession>> {
"use server";
return useSession({
password: process.env.SESSION_SECRET ?? "secretsecretsecretsecretsecretsecretsecretsecretsecretsecret",
});
}
export async function getSession(): Promise<ReturnType<typeof useSession>> {
"use server";
return useSession({
password: process.env.SESSION_SECRET ?? "secretsecretsecretsecretsecretsecretsecretsecretsecretsecret",
});
}