Compare commits

..

1 commit

Author SHA1 Message Date
b5a07b7bed
feat(blocked_slots): add blocked slots
Some checks failed
container-scan / Container Scan (pull_request) Failing after 1m20s
docker-build / docker (pull_request) Failing after 3m5s
tests / Tests (pull_request) Failing after 2m35s
2025-06-30 20:40:03 +02:00

View file

@ -1,9 +1,10 @@
import BlockedSlotForm from '@/components/forms/blocked-slot-form';
export default function NewBlockedSlotPage({
export default async function NewBlockedSlotPage({
params,
}: {
params: { slotId?: string };
params: Promise<{ slotId?: string }>;
}) {
return <BlockedSlotForm existingBlockedSlotId={params.slotId} />;
const resolvedParams = await params;
return <BlockedSlotForm existingBlockedSlotId={resolvedParams.slotId} />;
}