From ff34d1043fd3501f15e1e1ab2425b022c917911e Mon Sep 17 00:00:00 2001 From: ItzCrazyKns <95534749+ItzCrazyKns@users.noreply.github.com> Date: Sun, 25 Aug 2024 15:08:47 +0530 Subject: [PATCH] feat(app): lint & format --- ui/components/ChatWindow.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ui/components/ChatWindow.tsx b/ui/components/ChatWindow.tsx index 5e6d382..0ace2dd 100644 --- a/ui/components/ChatWindow.tsx +++ b/ui/components/ChatWindow.tsx @@ -59,7 +59,9 @@ const useSocket = ( chatModelProvider = Object.keys(chatModelProviders)[0]; if (chatModelProvider === 'custom_openai') { - toast.error('Seems like you are using the custom OpenAI provider, please open the settings and configure the API key and base URL'); + toast.error( + 'Seems like you are using the custom OpenAI provider, please open the settings and configure the API key and base URL', + ); setError(true); return; } else { @@ -192,7 +194,7 @@ const useSocket = ( if (data.type === 'error') { toast.error(data.data); } - }) + }); setWs(ws); };