From 99fa00a4e86a5ba9a5a6713b6c2b6b8ead9832d0 Mon Sep 17 00:00:00 2001 From: Diego Alzate Date: Fri, 2 Aug 2024 11:39:34 +0100 Subject: [PATCH] update groups reg to be under event url --- packages/berlin/src/App.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/berlin/src/App.tsx b/packages/berlin/src/App.tsx index 29a6e2da..c38cf607 100644 --- a/packages/berlin/src/App.tsx +++ b/packages/berlin/src/App.tsx @@ -231,14 +231,6 @@ const router = (queryClient: QueryClient) => path: '/account', Component: Account, }, - { - path: '/secret-groups', - Component: SecretGroupRegistration, - }, - { - path: '/public-groups', - Component: PublicGroupRegistration, - }, { path: '/events', children: [ @@ -255,6 +247,14 @@ const router = (queryClient: QueryClient) => path: ':eventId/holding', Component: Holding, }, + { + path: ':eventId/secret-groups', + Component: SecretGroupRegistration, + }, + { + path: ':eventId/public-groups', + Component: PublicGroupRegistration, + }, { loader: ({ params }) => redirectToEventHoldingOrRegister(queryClient, params.eventId),