File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,9 +62,9 @@ const Chat: React.FC<ChatProps> = ({
6262 }
6363 // const chatMessages = await chatService.getUserHistory(userId);
6464 // setMessages(chatMessages);
65- } catch ( error ) {
65+ } catch {
6666 // Failed to load history — silent fail
67- console . log ( "Failed to load chat history for user" , userId ) ;
67+ console . log ( "Failed to load chat history for user" ) ;
6868 }
6969 } ;
7070 loadHistory ( ) ;
@@ -171,7 +171,7 @@ const Chat: React.FC<ChatProps> = ({
171171 setMessages ( [ ] ) ;
172172 } catch {
173173 // clear history failed — silent
174- console . log ( "Failed to clear chat history for user" , userId ) ;
174+ console . log ( "Failed to clear chat history for user" ) ;
175175 }
176176 } ;
177177
Original file line number Diff line number Diff line change @@ -271,8 +271,8 @@ export function usePlanWebSocket({
271271 const connectWebSocket = async ( ) => {
272272 try {
273273 await webSocketService . connect ( planId ) ;
274- } catch ( error ) {
275- console . log ( 'WebSocket connection failed, continuing without real-time updates' , error ) ;
274+ } catch {
275+ console . log ( 'WebSocket connection failed, continuing without real-time updates' ) ;
276276 }
277277 } ;
278278 connectWebSocket ( ) ;
You can’t perform that action at this time.
0 commit comments