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
Source diff could not be displayed: it is too large. Options to address this: view the blob.
...@@ -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 to comment