From 9e058e13290fdbdb258d7984afc611fecdcda190 Mon Sep 17 00:00:00 2001 From: CREDO23 Date: Fri, 20 Mar 2026 20:35:29 +0200 Subject: [PATCH] chore: clean up comments in editor and composer --- surfsense_web/components/assistant-ui/inline-mention-editor.tsx | 2 +- surfsense_web/components/assistant-ui/thread.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/surfsense_web/components/assistant-ui/inline-mention-editor.tsx b/surfsense_web/components/assistant-ui/inline-mention-editor.tsx index 656a3ca2d..be48b60fa 100644 --- a/surfsense_web/components/assistant-ui/inline-mention-editor.tsx +++ b/surfsense_web/components/assistant-ui/inline-mention-editor.tsx @@ -117,7 +117,7 @@ export const InlineMentionEditor = forwardRef { if (!initialText || initialTextAppliedRef.current || !editorRef.current) return; diff --git a/surfsense_web/components/assistant-ui/thread.tsx b/surfsense_web/components/assistant-ui/thread.tsx index b6bbea2f4..023b0f7bc 100644 --- a/surfsense_web/components/assistant-ui/thread.tsx +++ b/surfsense_web/components/assistant-ui/thread.tsx @@ -314,7 +314,7 @@ const Composer: FC = () => { const composerRuntime = useComposerRuntime(); const hasAutoFocusedRef = useRef(false); - // Clipboard content from Electron tray (pre-filled into composer) + // Clipboard content const [clipboardText, setClipboardText] = useState(); useEffect(() => { const api = (window as { electronAPI?: { getClipboardContent?: () => Promise } }).electronAPI;