diff options
Diffstat (limited to 'client/src/main.tsx')
-rw-r--r-- | client/src/main.tsx | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/client/src/main.tsx b/client/src/main.tsx index fff9446..0e5a2f7 100644 --- a/client/src/main.tsx +++ b/client/src/main.tsx @@ -40,23 +40,23 @@ const router = createBrowserRouter([ path: 'admin/login', element: <AdminLogin />, }, - ], - }, - { - element: <Rsvp />, - children: [ { - path: 'rsvp', - element: <RsvpForm />, + element: <Rsvp />, + children: [ + { + path: 'rsvp', + element: <RsvpForm />, + }, + ], }, - ], - }, - { - element: <Admin />, - children: [ { - path: 'dashboard', - element: <Dashboard />, + element: <Admin />, + children: [ + { + path: 'dashboard', + element: <Dashboard />, + }, + ], }, ], }, |