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(splits): layout manager not fetching split content (#1848)

dev-rb8fd1118e0cbe
diff --git a/js/app/packages/app/component/split-layout/layoutManager.ts b/js/app/packages/app/component/split-layout/layoutManager.ts
index d51f316fd4..d3c3fd3cb0 100644
--- a/js/app/packages/app/component/split-layout/layoutManager.ts
+++ b/js/app/packages/app/component/split-layout/layoutManager.ts
@@ -684,7 +684,7 @@ export function createSplitLayout(
const s = () => state.splits.find((x) => x.id === id);
const currentSplit = s();
if (!currentSplit) return;
- const content = () => currentSplit.content;
+ const content = () => s()!.content;
return {
id: currentSplit.id,