Make client send

This commit is contained in:
Dominic Zimmer 2022-10-28 16:37:51 +02:00
parent 3d51368825
commit 668b40d5dd

View File

@ -17,7 +17,7 @@ const Client = () => {
// Send data to server
useEffect(() => {
if (!socket) return;
//socket.send(JSON.stringify(buttonMap));
socket.send(JSON.stringify(buttonMap));
}, [buttonMap, socket]);
useEffect(() => {