Compare commits
1 commit
f562de5e9f
...
b5a07b7bed
Author | SHA1 | Date | |
---|---|---|---|
b5a07b7bed |
1 changed files with 4 additions and 3 deletions
|
@ -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} />;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue