From c5d6fc3310e3112e62762085d83a9b6b2d022d35 Mon Sep 17 00:00:00 2001 From: Ryderjj89 Date: Wed, 4 Jun 2025 18:18:59 -0400 Subject: [PATCH] Adding info to RSVP form and back to events list button --- frontend/src/components/RSVPForm.tsx | 60 ++++++++++++++++++++-------- 1 file changed, 44 insertions(+), 16 deletions(-) diff --git a/frontend/src/components/RSVPForm.tsx b/frontend/src/components/RSVPForm.tsx index eea26e6..ffc2ea3 100644 --- a/frontend/src/components/RSVPForm.tsx +++ b/frontend/src/components/RSVPForm.tsx @@ -445,6 +445,25 @@ const RSVPForm: React.FC = () => { RSVP Form + + {event && ( + + + {event.title} + + {event.description && ( + + Info: {event.description} + + )} + + Date: {new Date(event.date).toLocaleString()} + + + Location: {event.location} + + + )} {error && ( @@ -652,22 +671,31 @@ const RSVPForm: React.FC = () => { )} - + + + +