diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 6dd26a0d..1c3084a8 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -28,7 +28,7 @@ function App() { } /> } /> } /> - {/* } /> */} + } /> } /> } /> } /> diff --git a/frontend/src/context/AuthContext.tsx b/frontend/src/context/AuthContext.tsx index a1167e12..9fcfc3be 100644 --- a/frontend/src/context/AuthContext.tsx +++ b/frontend/src/context/AuthContext.tsx @@ -69,7 +69,7 @@ const AuthProvider = ({ children }: AuthProviderProps) => { setUser(userInfo.data); setIsUcsdEmail(true); // Check if user is admin - if (userInfo.data.email === 'cses@ucsd.edu' || 'ssenthilram@ucsd.edu' || 'h4gupta@ucsd.edu') { + if (userInfo.data.email === 'cses@ucsd.edu' || userInfo.data.email === 'h4gupta@ucsd.edu') { setIsAdmin(true); } else { setIsAdmin(false);