Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/create-project' into create-project
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverroick committed Oct 23, 2023
2 parents 819aa43 + d3e9903 commit 5215e55
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/CreateProjectPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 5215e55

Please sign in to comment.