diff --git a/ui/components/ChatWindow.tsx b/ui/components/ChatWindow.tsx index 9bc7ae6..0934e2b 100644 --- a/ui/components/ChatWindow.tsx +++ b/ui/components/ChatWindow.tsx @@ -44,6 +44,7 @@ const useSocket = ( url: string, setIsWSReady: (ready: boolean) => void, setError: (error: boolean) => void, + hasError: boolean ) => { const [ws, setWs] = useState(null);