Kantinen-Bereich: Wochenplan-Editor, Gerichte, Kennzeichnungen, Passkey-Verwaltung
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { mondayOf } from "@/lib/menu";
|
||||
import WeekEditor from "@/components/WeekEditor";
|
||||
|
||||
export default async function InternPage({
|
||||
searchParams,
|
||||
}: {
|
||||
searchParams: Promise<{ woche?: string }>;
|
||||
}) {
|
||||
const { woche } = await searchParams;
|
||||
return <WeekEditor monday={mondayOf(woche)} />;
|
||||
}
|
||||
Reference in New Issue
Block a user