Skip to content
Snippets Groups Projects
Commit 5e516311 authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

Fix redirects when not logged in

parent 0d15d828
Branches
Tags
No related merge requests found
This diff is collapsed.
...@@ -39,7 +39,7 @@ function Landing(): ReactElement { ...@@ -39,7 +39,7 @@ function Landing(): ReactElement {
<br /> <br />
<p> <p>
{loggedIn ? "You are logged in" : "You are not logged in"} {loggedIn ? "You are logged in" : "You are not logged in"}
{loggedIn && !hasNren ? ", but your access to the survey has not been approved" : moveToSurvey()} {!hasNren ? ", but your access to the survey has not been approved" : moveToSurvey()}
</p> </p>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment