Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix[mobile]: hide dock when not authed (#1908)

Peter Chinman839a91516feb
diff --git a/js/app/packages/app/component/Layout.tsx b/js/app/packages/app/component/Layout.tsx
index 6a27c3eb79..be7ca88f5e 100644
--- a/js/app/packages/app/component/Layout.tsx
+++ b/js/app/packages/app/component/Layout.tsx
@@ -163,7 +163,14 @@ export function Layout(props: RouteSectionProps) {
</ItemDndProvider>
</Resize.Zone>
</div>
- <Show when={isMobile() && !virtualKeyboardVisible()}>
+ <Show
+ when={
+ isMobile() &&
+ !virtualKeyboardVisible() &&
+ isAuthenticated() &&
+ !AUTH_URLS.includes(location.pathname)
+ }
+ >
<MobileDock />
</Show>
<Show when={isMobile()}>