From f01e4590fc39632cc4a386fcd8f271d40cd19411 Mon Sep 17 00:00:00 2001 From: Starstrike Date: Wed, 30 Apr 2025 15:05:51 -0400 Subject: [PATCH] Update RSVP URL pattern to match admin/view structure --- frontend/src/App.tsx | 2 +- frontend/src/components/EventList.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 68703a9..17f15a7 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -71,7 +71,7 @@ const App: React.FC = () => { } /> } /> - } /> + } /> } /> } /> diff --git a/frontend/src/components/EventList.tsx b/frontend/src/components/EventList.tsx index 5a5e637..104b765 100644 --- a/frontend/src/components/EventList.tsx +++ b/frontend/src/components/EventList.tsx @@ -41,7 +41,7 @@ const EventList: React.FC = () => { }; const handleEventClick = (event: Event) => { - navigate(`/events/${event.slug}/rsvp`); + navigate(`/rsvp/events/${event.slug}`); }; const handleAdminClick = (event: Event) => {