Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

Clean up chat teardown indentation

Louis Beaumontfb08abc023d1
diff --git a/apps/screenpipe-app-tauri/components/standalone-chat.tsx b/apps/screenpipe-app-tauri/components/standalone-chat.tsx
index 990af4eb8..3d3140c80 100644
--- a/apps/screenpipe-app-tauri/components/standalone-chat.tsx
+++ b/apps/screenpipe-app-tauri/components/standalone-chat.tsx
@@ -4202,10 +4202,10 @@ export function StandaloneChat({
}
}).then(fn => { unlistenReauth = fn; });
- return () => {
- mounted = false;
- cancelStreamingMessageRender();
- for (const off of busUnregistrations) {
+ return () => {
+ mounted = false;
+ cancelStreamingMessageRender();
+ for (const off of busUnregistrations) {
try { off(); } catch { /* ignore — tearing down */ }
}
unlistenLog?.();