Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdallaAbdelhadi committed Jan 6, 2024
1 parent 66c27f3 commit def5e41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/src/hooks/useSocket.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ export const useSocket = () => {
}

if (typeof actionElementID === 'object') {
//Check if the actionElementID is string[]
socket.current?.sendMsgRoom(action, actionElementID);
setWebsocketAction('', '');
return;
Expand Down

0 comments on commit def5e41

Please sign in to comment.