From f2fbc5db259e1c5eb281435ee626304c042a8866 Mon Sep 17 00:00:00 2001 From: projectmoon Date: Tue, 30 Jul 2024 19:51:14 +0200 Subject: [PATCH] haserror --- ui/components/ChatWindow.tsx | 1 + 1 file changed, 1 insertion(+) 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);