From 097102554adb06b4ae88169ea5f4ed88fbd8daf1 Mon Sep 17 00:00:00 2001 From: slawk0 Date: Sun, 15 Dec 2024 19:55:39 +0100 Subject: [PATCH] idiota --- client/src/components/chat/ParticipantsBar.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/client/src/components/chat/ParticipantsBar.tsx b/client/src/components/chat/ParticipantsBar.tsx index 0df65ec..abe3530 100644 --- a/client/src/components/chat/ParticipantsBar.tsx +++ b/client/src/components/chat/ParticipantsBar.tsx @@ -82,11 +82,7 @@ function ParticipantsBar({ const { group_id } = msg; console.log('Added to group: ', msg); console.log('Current participants: ', participants); - console.log( - 'HDDSLKDFLDK: ', - currentContact?.conversation_id, - currentContact?.user_id, - ); + console.log('CURRENTCONTACT: ', currentContact); if ( msg.group_id == currentContact?.conversation_id && msg.user_id == user?.user_id @@ -131,7 +127,6 @@ function ParticipantsBar({ }); return () => { - socket?.off('added to group'); socket?.off('left group'); }; }, [contact, participants]);