diff --git a/surfsense_web/components/assistant-ui/inline-mention-editor.tsx b/surfsense_web/components/assistant-ui/inline-mention-editor.tsx index 97e4b4373..12a8f895f 100644 --- a/surfsense_web/components/assistant-ui/inline-mention-editor.tsx +++ b/surfsense_web/components/assistant-ui/inline-mention-editor.tsx @@ -1,15 +1,15 @@ "use client"; +import { X } from "lucide-react"; import { + createElement, forwardRef, useCallback, - createElement, useEffect, useImperativeHandle, useRef, useState, } from "react"; -import { X } from "lucide-react"; import ReactDOMServer from "react-dom/server"; import type { Document } from "@/contracts/types/document.types"; import { cn } from "@/lib/utils"; diff --git a/surfsense_web/components/assistant-ui/thread.tsx b/surfsense_web/components/assistant-ui/thread.tsx index 4f8c3d2ee..90d4e62a3 100644 --- a/surfsense_web/components/assistant-ui/thread.tsx +++ b/surfsense_web/components/assistant-ui/thread.tsx @@ -74,7 +74,7 @@ import { TooltipIconButton } from "@/components/assistant-ui/tooltip-icon-button import { DocumentMentionPicker, type DocumentMentionPickerRef, -} from "@/components/new-chat/DocumentMentionPicker"; +} from "@/components/new-chat/document-mention-picker"; import { ChainOfThought, ChainOfThoughtContent, diff --git a/surfsense_web/components/new-chat/DocumentMentionPicker.tsx b/surfsense_web/components/new-chat/document-mention-picker.tsx similarity index 100% rename from surfsense_web/components/new-chat/DocumentMentionPicker.tsx rename to surfsense_web/components/new-chat/document-mention-picker.tsx