Skip to content

Commit ca36c46

Browse files
authored
Update App.js
- Add Admin Route Check
1 parent 607f2a4 commit ca36c46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Frontend/src/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function App() {
7878
element={
7979
<ProtectedRoute
8080
redirectPath="/unauthorized"
81-
checkAdminStatus={false}
81+
checkAdminStatus={true}
8282
>
8383
<Questions />
8484
</ProtectedRoute>

0 commit comments

Comments
 (0)