aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-03-11 14:41:55 +0100
committerlonkaars <l.leblansch@gmail.com>2021-03-11 14:41:55 +0100
commitbe49bbc647448e5471aef110b2b8ada163011351 (patch)
tree97f2f2661b0ed283e4f55b1257d500a69e6056e0
parentbe9e5197d87e3ebefa43d96a49bbd6843edaf3e1 (diff)
hide settings page for un-logged in users
-rw-r--r--components/navbar.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/navbar.tsx b/components/navbar.tsx
index ab348a1..7da6716 100644
--- a/components/navbar.tsx
+++ b/components/navbar.tsx
@@ -55,7 +55,7 @@ export function NavBar() {
<PersonIcon/>
}
</a>
- <a href="/settings" style={NavBarItemStyle}><SettingsIcon/></a>
+ { loggedIn && <a href="/settings" style={NavBarItemStyle}><SettingsIcon/></a> }
</div>
</div>
}