authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-03-12 12:40:08-07:00
committergravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-03-12 12:40:08-07:00
logdb17ff332307e6c80d034e6c13932d4bc253bca3
treeaa6b0e23e22fa2fb4f28302295ef069879ef9f66
parentb496ae839529b910d5a35e9e05d6be704a41b5a5

fix syntax errors from bad merge


2 files changed, 10 insertions(+), 8 deletions(-)

apps/web/src/components/PlanSidebar.tsx+9-8
......@@ -86,6 +86,15 @@ const PlanSidebar = memo(function PlanSidebar({
8686 }, 2000);
8787 }, [planMarkdown]);
8888
89 // Cleanup timeout on unmount
90 useEffect(() => {
91 return () => {
92 if (copiedTimerRef.current != null) {
93 clearTimeout(copiedTimerRef.current);
94 }
95 };
96 }, []);
97
8998 const handleDownload = useCallback(() => {
9099 if (!planMarkdown) return;
91100 const filename = buildProposedPlanMarkdownFilename(planMarkdown);
......@@ -128,14 +137,6 @@ const PlanSidebar = memo(function PlanSidebar({
128137 {/* Header */}
129138 <div className="flex h-12 shrink-0 items-center justify-between border-b border-border/60 px-3">
130139 <div className="flex items-center gap-2">
131 // Cleanup timeout on unmount
132 useEffect(() => {
133 return () => {
134 if (copiedTimerRef.current \!= null) {
135 clearTimeout(copiedTimerRef.current);
136 }
137 };
138 }, []);
139140 <Badge
140141 variant="secondary"
141142 className="rounded-md bg-blue-500/10 px-1.5 py-0 text-[10px] font-semibold tracking-wide text-blue-400 uppercase"
apps/web/src/wsTransport.ts+1
......@@ -190,6 +190,7 @@ export class WsTransport {
190190 // Log WebSocket errors for debugging (close event will follow)
191191 console.warn("WebSocket connection error", { type: event.type, url: this.url });
192192 });
193 }
193194
194195 private handleMessage(raw: unknown) {
195196 const result = decodeWsResponse(raw);