about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/view/shell/desktop/RightNav.tsx2
-rw-r--r--src/view/shell/index.web.tsx4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/view/shell/desktop/RightNav.tsx b/src/view/shell/desktop/RightNav.tsx
index 462627c41..02165d3c6 100644
--- a/src/view/shell/desktop/RightNav.tsx
+++ b/src/view/shell/desktop/RightNav.tsx
@@ -59,7 +59,7 @@ export const DesktopRightNav = observer(function DesktopRightNav() {
           />
         </View>
       </View>
-      {store.session.hasSession && <InviteCodes />}
+      <InviteCodes />
       <View>
         <TouchableOpacity
           style={[styles.darkModeToggle]}
diff --git a/src/view/shell/index.web.tsx b/src/view/shell/index.web.tsx
index 8dd0bc63d..5e3875268 100644
--- a/src/view/shell/index.web.tsx
+++ b/src/view/shell/index.web.tsx
@@ -36,9 +36,9 @@ const ShellInner = observer(() => {
           <FlatNavigator />
         </ErrorBoundary>
       </View>
-      {isDesktop && (
+      {isDesktop && store.session.hasSession && (
         <>
-          {store.session.hasSession && <DesktopLeftNav />}
+          <DesktopLeftNav />
           <DesktopRightNav />
         </>
       )}