diff --git a/src/components/menu.jsx b/src/components/menu.jsx index 8ec5d3f7..6809be0a 100644 --- a/src/components/menu.jsx +++ b/src/components/menu.jsx @@ -7,7 +7,7 @@ import Icon from './icon'; import Link from './link'; function NavMenu(props) { - const { instance } = api(); + const { instance, authenticated } = api(); return ( Home - - Notifications - - - - Lists - - - Followed Hashtags - - - Bookmarks - - - Favourites - + {authenticated && ( + <> + + Notifications + + + + Lists + + + Followed Hashtags + + + Bookmarks + + + Favourites + + + )} Search @@ -52,14 +56,18 @@ function NavMenu(props) { Federated - - { - states.showSettings = true; - }} - > - Settings - + {authenticated && ( + <> + + { + states.showSettings = true; + }} + > + Settings + + + )} ); }