Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
fix syntax errors from bad merge
Julius Marmingedb17ff332307
diff --git a/apps/web/src/components/PlanSidebar.tsx b/apps/web/src/components/PlanSidebar.tsxindex 2d898b009..735900eac 100644--- a/apps/web/src/components/PlanSidebar.tsx+++ b/apps/web/src/components/PlanSidebar.tsx@@ -86,6 +86,15 @@ const PlanSidebar = memo(function PlanSidebar({}, 2000);}, [planMarkdown]);+ // Cleanup timeout on unmount+ useEffect(() => {+ return () => {+ if (copiedTimerRef.current != null) {+ clearTimeout(copiedTimerRef.current);+ }+ };+ }, []);+const handleDownload = useCallback(() => {if (!planMarkdown) return;const filename = buildProposedPlanMarkdownFilename(planMarkdown);@@ -128,14 +137,6 @@ const PlanSidebar = memo(function PlanSidebar({{/* Header */}<div className="flex h-12 shrink-0 items-center justify-between border-b border-border/60 px-3"><div className="flex items-center gap-2">- // Cleanup timeout on unmount- useEffect(() => {- return () => {- if (copiedTimerRef.current \!= null) {- clearTimeout(copiedTimerRef.current);- }- };- }, []);<Badgevariant="secondary"className="rounded-md bg-blue-500/10 px-1.5 py-0 text-[10px] font-semibold tracking-wide text-blue-400 uppercase"diff --git a/apps/web/src/wsTransport.ts b/apps/web/src/wsTransport.tsindex 4f22a22f1..46c74d909 100644--- a/apps/web/src/wsTransport.ts+++ b/apps/web/src/wsTransport.ts@@ -190,6 +190,7 @@ export class WsTransport {// Log WebSocket errors for debugging (close event will follow)console.warn("WebSocket connection error", { type: event.type, url: this.url });});+ }private handleMessage(raw: unknown) {const result = decodeWsResponse(raw);