From 8b359c58fcccc3fa84263ef36b25156d4a446f0b Mon Sep 17 00:00:00 2001 From: thakiyudheen Date: Wed, 17 Jul 2024 15:22:16 +0530 Subject: [PATCH] double chat --- src/Components/instructor/chat/instructorChat.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/instructor/chat/instructorChat.tsx b/src/Components/instructor/chat/instructorChat.tsx index 00616e9..1e253b8 100644 --- a/src/Components/instructor/chat/instructorChat.tsx +++ b/src/Components/instructor/chat/instructorChat.tsx @@ -294,7 +294,7 @@ const InstructorChat: React.FC = () => { }; console.log('this os send message') socket?.emit("send-message", newMessage); - // dispatch(createMessageAction(newMessage)); + dispatch(createMessageAction(newMessage)); } };