Skip to content

Commit be96562

Browse files
authored
Admin functionalities updated (#92)
* Admin handling challenges CRUD * Updated the challenge creation timestamp mismatching * Admin C pagination and challenge view
1 parent 7ebc306 commit be96562

File tree

13 files changed

+1160
-456
lines changed

13 files changed

+1160
-456
lines changed

client-test/src/App.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ import ProblemSet from './components/ProblemSet';
3030
import CategoryProblems from './components/ProblemSet/CategoryProblems';
3131
import { ServerErrorRoute, NetworkErrorRoute, UnauthorizedRoute } from './components/ErrorRoutes';
3232
import { ForbiddenPage } from './components/EnhancedErrorPages';
33+
import ChallengeDetail from './components/Admin/ChallengeDetails.tsx';
3334

3435
function UserApp() {
3536
return (
@@ -92,6 +93,7 @@ function AdminApp() {
9293
<Route path="/codingclubadmin" element={<Dashboard />} />
9394
<Route path="/codingclubadmin/users" element={<UserDashboard />} />
9495
<Route path="/codingclubadmin/challenges" element={<AdminChallenges />} />
96+
<Route path="/codingclubadmin/challenges/:id" element={<ChallengeDetail />} />
9597
<Route path="/codingclubadmin/users/profile/:username" element={<ProfilePage />} />
9698
<Route path="/codingclubadmin/addchallenge" element={<AddChallenge />} />
9799
<Route path="/codingclubadmin/leaderboard" element={<Leaderboard />} />

0 commit comments

Comments
 (0)