a6f1059ddf
Uniform stock management for healthcare linen rooms: the coordinator app, the phone counter and the staff app, for your own server. Built from a113353 on 2026-09-15. Licensed under the Functional Source License (FSL-1.1-ALv2).
12 lines
362 B
TypeScript
12 lines
362 B
TypeScript
import { redirect } from "next/navigation";
|
|
import { currentStaff } from "@/lib/staffsession";
|
|
import AccountScreen from "@/components/screens/Account";
|
|
|
|
export const dynamic = "force-dynamic";
|
|
|
|
export default async function MyAccount() {
|
|
const sess = await currentStaff();
|
|
if (!sess) redirect("/my/signin");
|
|
return <AccountScreen email={sess.email} />;
|
|
}
|