diff --git a/app/host/page.tsx b/app/host/page.tsx index 1b63f2b..a8ad4f3 100644 --- a/app/host/page.tsx +++ b/app/host/page.tsx @@ -95,7 +95,7 @@ const Page = () => { >
Date:
- {eventDetails.date}
+ {eventDate}
@@ -82,6 +83,9 @@ const EventDescription: React.FC
{eventDetails.host}
Location:
{eventDetails.location}
Date:
{eventDate}
Host:
{eventDetails.host}
{errors.name.message}
} + {errors.name &&{errors.name.message}
}{errors.description.message}
+{errors.description.message}
)}{errors.capacity.message}
+{errors.capacity.message}
)}{errors.ticketPrice.message}
+{errors.ticketPrice.message}
)} @@ -144,7 +144,7 @@ const EventForm = ({ onSubmit }: EventFormProps) => { {errors.description && ( -{errors.description.message}
+{errors.description.message}
)} @@ -159,7 +159,7 @@ const EventForm = ({ onSubmit }: EventFormProps) => { max="2100-12-31T23:59" /> {errors.eventStartTime && ( -{errors.eventStartTime.message}
+{errors.eventStartTime.message}
)} @@ -174,7 +174,7 @@ const EventForm = ({ onSubmit }: EventFormProps) => { max="2100-12-31T23:59" /> {errors.eventEndTime && ( -{errors.eventEndTime.message}
+{errors.eventEndTime.message}
)} @@ -209,7 +209,7 @@ const EventForm = ({ onSubmit }: EventFormProps) => { if (imgError) { const message = imgError.message || 'Invalid image URL'; return ( -+
Image {index + 1}: {message}
);