From 3f2a7afd063cc770d8605a394d1fb4ea61994495 Mon Sep 17 00:00:00 2001 From: sid <35936587+siddharth-shringarpure@users.noreply.github.com> Date: Sun, 27 Oct 2024 09:17:23 +0000 Subject: [PATCH 1/3] =?UTF-8?q?=E2=9C=A8=20Improvedcolour=20visibility.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/host/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = () => { >
{errors.name.message}
} + {errors.name &&{errors.name.message}
}{errors.description.message}
+{errors.description.message}
)}{errors.capacity.message}
+{errors.capacity.message}
)} @@ -135,7 +135,7 @@ const EventForm = ({ onSubmit }: EventFormProps) => { {...register('ticketPrice', { valueAsNumber: true })} /> {errors.ticketPrice && ( -{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}
); From 94a6a5d47ee29881bd0cc031a5cc1a15bcc6e930 Mon Sep 17 00:00:00 2001 From: sid <35936587+siddharth-shringarpure@users.noreply.github.com> Date: Sun, 27 Oct 2024 09:40:20 +0000 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20time=20being=20displ?= =?UTF-8?q?ayed=20as=20Unix=20epoch,=20rather=20than=20DDMMYY-like=20time.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/custom/EventDescription.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/custom/EventDescription.tsx b/components/custom/EventDescription.tsx index 03b4497..69157ea 100644 --- a/components/custom/EventDescription.tsx +++ b/components/custom/EventDescription.tsx @@ -33,6 +33,7 @@ const EventDescription: React.FC{eventDetails.description}
Location:
{eventDetails.location}
Date:
{eventDetails.date}
Date:
{eventDate}
Host:
{eventDetails.host}