-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
"Create a Schedule" feature under create class results in this error:
Error Type
Runtime Error
Error Message
React.Children.only expected to receive a single React element child.
at DialogContent (src/components/ui/dialog.tsx:62:7)
at <unknown> (src/components/classes/edit/schedule-form/schedule-form-dialog.tsx:71:9)
at map ([native code]:null:null)
Code Frame
60 |
61 |
62 | <DialogPrimitive.Content
| ^
63 | data-slot="dialog-content"
64 | className={cn(
65 | "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
Next.js version: 16.1.3 (Turbopack)

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels