diff --git a/src/pages/CreateProjectPage.jsx b/src/pages/CreateProjectPage.jsx index a8880392..887182b8 100644 --- a/src/pages/CreateProjectPage.jsx +++ b/src/pages/CreateProjectPage.jsx @@ -10,8 +10,7 @@ import CreateProjectForm from '../features/projects/CreateProjectForm.jsx'; const CreateProjectPage = () => { const authStatus = useSelector(selectUserAuthStatus); const user = useSelector(selectUserUsername); - // const isSuperUser = useSelector(selectUserIsSuperUser); - const isSuperUser = true; + const isSuperUser = useSelector(selectUserIsSuperUser); const signedIn = authStatus === 'authenticated' && user; if (!signedIn) {