diff --git a/ee/tabby-ui/app/chat/page.tsx b/ee/tabby-ui/app/chat/page.tsx index efd6a9087902..7694b65b5598 100644 --- a/ee/tabby-ui/app/chat/page.tsx +++ b/ee/tabby-ui/app/chat/page.tsx @@ -7,7 +7,6 @@ import { useSearchParams } from 'next/navigation' import { nanoid } from '@/lib/utils' import { Chat, ChatRef } from '@/components/chat/chat' -import { QuestionAnswerPair } from '@/lib/types/chat' import Color from 'color' import './page.css' @@ -34,7 +33,7 @@ export default function ChatPage() { ) const [activeChatId, setActiveChatId] = useState('') let pendingMessages: ChatMessage[] = [] // FIXME(wwayne): use init message props after Chat component update - + const chatRef = useRef(null) const searchParams = useSearchParams() const maxWidth = searchParams.get('max-width') || undefined