diff --git a/client/src/scripts/game.js b/client/src/scripts/game.js index c8efdcf..b3123a7 100644 --- a/client/src/scripts/game.js +++ b/client/src/scripts/game.js @@ -35,7 +35,7 @@ const game = () => { ); }); socket.on("connect_error", (err) => { - toast('Connection error: ' + err, 'error', true, false); + toast(err, 'error', true, false); }); socket.on('disconnect', () => { toast('Disconnected. Attempting reconnect...', 'error', true, false);