From 07dd1a8db01780174cd969b4701f0f53275741d4 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 9 Jul 2026 02:47:10 +0000 Subject: [PATCH] Remove unused err parameter from ChatInterface Removed the unused `err` parameter in the `onError` callback inside `src/components/layout/ChatInterface.tsx` to resolve the code health issue. This change improves maintainability and does not alter the callback behavior. Co-authored-by: pavan721 <88892612+pavan721@users.noreply.github.com> --- src/components/layout/ChatInterface.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/layout/ChatInterface.tsx b/src/components/layout/ChatInterface.tsx index 9980228..8416476 100644 --- a/src/components/layout/ChatInterface.tsx +++ b/src/components/layout/ChatInterface.tsx @@ -76,7 +76,7 @@ export function ChatInterface() { addMessage(message as any) speak(message.content) }, - onError: (err) => { + onError: () => { speak("Error encountered. Check system configuration.") setIsProcessing(false) }