Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix: focus loss due to settings panel (#1150)
Peter Chinman0c8f0ab5e779
diff --git a/js/app/packages/app/component/settings/SettingsWrapper.tsx b/js/app/packages/app/component/settings/SettingsWrapper.tsxindex 60d78f605d..2fd558edf0 100644--- a/js/app/packages/app/component/settings/SettingsWrapper.tsx+++ b/js/app/packages/app/component/settings/SettingsWrapper.tsx@@ -1,4 +1,4 @@-import { Show } from 'solid-js';+import { Show, Suspense } from 'solid-js';import { Resize } from '@core/component/Resize';import { isSettingsPanelOpen } from '@core/signal/layout/settings';import { useIsAuthenticated } from '@core/auth';@@ -16,7 +16,9 @@ export const SettingsWrapper = () => {hidden={() => !isSettingsPanelOpen()}persistent={true}>- <SettingsPanel hide={!isSettingsPanelOpen()} />+ <Suspense>+ <SettingsPanel hide={!isSettingsPanelOpen()} />+ </Suspense></Resize.Panel></Show>);