0910bc32c1
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).
8 lines
369 B
TypeScript
8 lines
369 B
TypeScript
import { redirect } from "next/navigation";
|
|
|
|
/* The old signed-in welcome. Today is the first screen now; a brand-new facility gets its banner. */
|
|
export default async function SignedIn({ searchParams }: { searchParams: Promise<Record<string, string | string[] | undefined>> }) {
|
|
const q = await searchParams;
|
|
redirect(q.new === "1" ? "/m?flash=created" : "/m");
|
|
}
|