diff --git a/src/routes/estimation/estimation.js b/src/routes/estimation/estimation.js index b71ce6a..5e6677a 100644 --- a/src/routes/estimation/estimation.js +++ b/src/routes/estimation/estimation.js @@ -25,6 +25,7 @@ function connectToWebSocket(roomId, onMessageReceived) { socket.addEventListener('close', () => { console.log('Disconnected from WebSocket server'); + alert('You have been disconnected from the server. Please refresh the page to reconnect.'); }); return socket;