Compare commits
1 commit
b5a07b7bed
...
f562de5e9f
Author | SHA1 | Date | |
---|---|---|---|
f562de5e9f |
1 changed files with 3 additions and 4 deletions
|
@ -1,10 +1,9 @@
|
||||||
import BlockedSlotForm from '@/components/forms/blocked-slot-form';
|
import BlockedSlotForm from '@/components/forms/blocked-slot-form';
|
||||||
|
|
||||||
export default async function NewBlockedSlotPage({
|
export default function NewBlockedSlotPage({
|
||||||
params,
|
params,
|
||||||
}: {
|
}: {
|
||||||
params: Promise<{ slotId?: string }>;
|
params: { slotId?: string };
|
||||||
}) {
|
}) {
|
||||||
const resolvedParams = await params;
|
return <BlockedSlotForm existingBlockedSlotId={params.slotId} />;
|
||||||
return <BlockedSlotForm existingBlockedSlotId={resolvedParams.slotId} />;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue