Skip to content

Commit

Permalink
admin wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
sebasptsch committed Jun 8, 2023
1 parent 16b6548 commit c616c99
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/frontend/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ ReactDOM.createRoot(document.getElementById("root")!).render(
<Route element={<AuthWrapper adminOnly />}>
<Route path="event/create" element={<CreateEventPage />} />
<Route path="event/:eventId/edit" element={<EditEventPage />} />
<Route
path="event/:eventId/admin-attendance"
element={<AdminAttendancePage />}
/>
<Route element={<AdminPage />} path="admin" />
<Route element={<ProfilePage />} path="profile/:userId" />
<Route element={<ScancodePage />} path="codes/:userId" />
Expand All @@ -77,10 +81,6 @@ ReactDOM.createRoot(document.getElementById("root")!).render(
path="/event/:eventId/admin-checkin"
element={<AdminCheckinPage />}
/>
<Route
path="/event/:eventId/admin-attendance"
element={<AdminAttendancePage />}
/>
</Route>
</Routes>

Expand Down

0 comments on commit c616c99

Please sign in to comment.