Files
ThreadCount 0910bc32c1 ThreadCount Community edition
Uniform stock management for healthcare linen rooms: the coordinator app, the phone counter and the staff app, for your own server. Built from 38e16eb on 2026-09-15. Licensed under the Functional Source License (FSL-1.1-ALv2).
2026-09-16 07:57:54 +10:00

14 lines
445 B
TypeScript

import { redirect } from "next/navigation";
import { currentStaff } from "@/lib/staffsession";
import { catalogueData } from "@/lib/staffdata";
import ShelfScreen from "@/components/screens/Shelf";
export const dynamic = "force-dynamic";
export default async function MyShelf() {
const sess = await currentStaff();
if (!sess) redirect("/my/signin");
const { items } = await catalogueData(sess);
return <ShelfScreen items={items} />;
}