Files
threadcount-community/app/m/(app)/signed-in/page.tsx
T
ThreadCount f72f0626b0
Release / release (push) Has been skipped
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 794bab5 on 2026-09-16. Licensed under the Functional Source License (FSL-1.1-ALv2).
2026-09-17 05:49:16 +10:00

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");
}