From caab6309dfb7592f50e51c6aae8d2266c19d8098 Mon Sep 17 00:00:00 2001
From: Ivan Silvestre <ivanbsilvestre@gmail.com>
Date: Tue, 30 May 2023 13:54:23 +0100
Subject: Desktop: hide the left panel and the invite codes from the main page
 if you are not logged in

---
 src/view/shell/index.web.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/view/shell/index.web.tsx')

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 />
         </>
       )}
-- 
cgit 1.4.1

