From 677a01d634cc0f670a308d4da3cb7842be243f38 Mon Sep 17 00:00:00 2001 From: Brent O'Neill Date: Mon, 29 Sep 2025 11:17:41 -0600 Subject: [PATCH] fix typo --- frontend/src/app/knowledge/chunks/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/knowledge/chunks/page.tsx b/frontend/src/app/knowledge/chunks/page.tsx index d680ebc5..264af4dc 100644 --- a/frontend/src/app/knowledge/chunks/page.tsx +++ b/frontend/src/app/knowledge/chunks/page.tsx @@ -75,7 +75,7 @@ function ChunksPageContent() { }, [queryInputText, chunks]); const handleCopy = useCallback((text: string, index: number) => { - // Trime whitespace and remove new lines/tabs for cleaner copy + // Trim whitespace and remove new lines/tabs for cleaner copy navigator.clipboard.writeText(text.trim().replace(/[\n\r\t]/gm, "")); setActiveCopiedChunkIndex(index); setTimeout(() => setActiveCopiedChunkIndex(null), 30 * 1000); // 30 seconds