From a00f2231d4b61e453523b8028aad6aa436a61908 Mon Sep 17 00:00:00 2001 From: ItzCrazyKns <95534749+ItzCrazyKns@users.noreply.github.com> Date: Fri, 14 Nov 2025 23:17:41 +0530 Subject: [PATCH] feat(chat-window): remove loading state --- src/components/ChatWindow.tsx | 31 ++++++++++++------------------- 1 file changed, 12 insertions(+), 19 deletions(-) diff --git a/src/components/ChatWindow.tsx b/src/components/ChatWindow.tsx index c04b4ea..dc6ab01 100644 --- a/src/components/ChatWindow.tsx +++ b/src/components/ChatWindow.tsx @@ -8,7 +8,6 @@ import { Settings } from 'lucide-react'; import Link from 'next/link'; import NextError from 'next/error'; import { useChat } from '@/lib/hooks/useChat'; -import Loader from './ui/Loader'; import SettingsButtonMobile from './Settings/SettingsButtonMobile'; export interface BaseMessage { @@ -52,7 +51,7 @@ export interface File { } const ChatWindow = () => { - const { hasError, isReady, notFound, messages } = useChat(); + const { hasError, notFound, messages } = useChat(); if (hasError) { return (