diff --git a/src/components/LayerUI.tsx b/src/components/LayerUI.tsx
index ad30daf59c..2bb8c984c2 100644
--- a/src/components/LayerUI.tsx
+++ b/src/components/LayerUI.tsx
@@ -513,17 +513,18 @@ const LayerUI = ({
"transition-right": zenModeEnabled,
})}
>
- {Array.from(appState.collaborators)
- // Collaborator is either not initialized or is actually the current user.
- .filter(([_, client]) => Object.keys(client).length !== 0)
- .map(([clientId, client]) => (
-
- {actionManager.renderAction("goToCollaborator", clientId)}
-
- ))}
+ {appState.collaborators.size > 0 &&
+ Array.from(appState.collaborators)
+ // Collaborator is either not initialized or is actually the current user.
+ .filter(([_, client]) => Object.keys(client).length !== 0)
+ .map(([clientId, client]) => (
+
+ {actionManager.renderAction("goToCollaborator", clientId)}
+
+ ))}
diff --git a/src/components/MobileMenu.tsx b/src/components/MobileMenu.tsx
index fafdaa4cec..a23c4c6fba 100644
--- a/src/components/MobileMenu.tsx
+++ b/src/components/MobileMenu.tsx
@@ -152,24 +152,26 @@ export const MobileMenu = ({
{renderCanvasActions()}
{renderCustomFooter?.(true)}
-
+ {appState.collaborators.size > 0 && (
+
+ )}