about summary refs log tree commit diff
path: root/src/view/shell/index.web.tsx
diff options
context:
space:
mode:
authorIvan Silvestre <ivanbsilvestre@gmail.com>2023-05-30 13:54:23 +0100
committerIvan Silvestre <ivanbsilvestre@gmail.com>2023-05-30 13:54:23 +0100
commitcaab6309dfb7592f50e51c6aae8d2266c19d8098 (patch)
treeb252519fb2e61cf09d786512cd27849a9890936e /src/view/shell/index.web.tsx
parente58fe2e20479adc891860b1f47eaea667b9a1f62 (diff)
downloadvoidsky-caab6309dfb7592f50e51c6aae8d2266c19d8098.tar.zst
Desktop: hide the left panel and the invite codes from the main page if you are not logged in
Diffstat (limited to 'src/view/shell/index.web.tsx')
-rw-r--r--src/view/shell/index.web.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/shell/index.web.tsx b/src/view/shell/index.web.tsx
index 68ce370ed..8dd0bc63d 100644
--- a/src/view/shell/index.web.tsx
+++ b/src/view/shell/index.web.tsx
@@ -38,7 +38,7 @@ const ShellInner = observer(() => {
       </View>
       {isDesktop && (
         <>
-          <DesktopLeftNav />
+          {store.session.hasSession && <DesktopLeftNav />}
           <DesktopRightNav />
         </>
       )}