From 30387538435e6d972064ebdbacc55d5fa9e0367d Mon Sep 17 00:00:00 2001 From: Alex <60247838+alexapostolu@users.noreply.github.com> Date: Wed, 1 May 2024 12:32:10 -0400 Subject: [PATCH] Admin hotfix (#73) * filter by utorid * timestamp filter * filter by date, seperate page for admin * fixed user role * removed admin from nav bar * fixed indentation * added start and end of timestamp * user role * added admin dashboard link to navbar * removed commented code * admin * hotfix --- client/src/App.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/src/App.tsx b/client/src/App.tsx index 32692ce..e756366 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -10,6 +10,7 @@ import Solution from './pages/Solution.tsx'; import Profile from './pages/Profile.tsx'; import Editor from './pages/Editor.tsx'; import AddChallenge from "./pages/AddChallenge.tsx"; +import Admin from "./pages/Admin.tsx" const NAV_CONFIG = { @@ -78,6 +79,10 @@ const router = createBrowserRouter([ path: "editor", element: }, + { + path: "admin", + element: + }, ], }, ]);