From eee883c3657d24816573939b2f7c74b3f4ff2ab6 Mon Sep 17 00:00:00 2001 From: Diego Alzate Date: Fri, 2 Aug 2024 12:27:59 +0100 Subject: [PATCH] update groups reg to be under event url (#716) --- 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),