Skip to content

Commit

Permalink
Admin hotfix (#73)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
alexapostolu authored May 1, 2024
1 parent 7cbea9f commit 3038753
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -78,6 +79,10 @@ const router = createBrowserRouter([
path: "editor",
element: <Editor />
},
{
path: "admin",
element: <Admin />
},
],
},
]);
Expand Down

0 comments on commit 3038753

Please sign in to comment.