From def5e41b27f7b977d2bb4645cb39a8e1696b445e Mon Sep 17 00:00:00 2001 From: Abdalla Abdelhadi Date: Fri, 5 Jan 2024 19:26:49 -0500 Subject: [PATCH] add comment --- client/src/hooks/useSocket.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/hooks/useSocket.tsx b/client/src/hooks/useSocket.tsx index 849f344..a016f0a 100644 --- a/client/src/hooks/useSocket.tsx +++ b/client/src/hooks/useSocket.tsx @@ -203,6 +203,7 @@ export const useSocket = () => { } if (typeof actionElementID === 'object') { + //Check if the actionElementID is string[] socket.current?.sendMsgRoom(action, actionElementID); setWebsocketAction('', ''); return;