Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: drop superseded source-count responses in Manage imported data (#12987)

[._.]/ Adam Eivy0cbc9602a464
diff --git a/client/src/components/timeline/ManageImportedDataPanel.jsx b/client/src/components/timeline/ManageImportedDataPanel.jsx
index 0290bf9fd3..026729a7ee 100644
--- a/client/src/components/timeline/ManageImportedDataPanel.jsx
+++ b/client/src/components/timeline/ManageImportedDataPanel.jsx
@@ -14,7 +14,9 @@ export default function ManageImportedDataPanel({ reloadKey, onChanged }) {
const [busy, setBusy] = useState(false);
useEffect(() => {
- api.getTimelineSources({ silent: true }).then((r) => setSources(r?.sources || [])).catch(() => {});
+ let active = true;
+ api.getTimelineSources({ silent: true }).then((r) => { if (active) setSources(r?.sources || []); }).catch(() => {});
+ return () => { active = false; };
}, [reloadKey]);
const cancel = () => { setTarget(null); setTyped(''); };