From ea7f7a6e99fbfdc98030d253c76d642b0dc4dfb8 Mon Sep 17 00:00:00 2001 From: bangae1 Date: Sun, 19 Oct 2025 22:40:15 +0900 Subject: [PATCH] qa --- frontend/src/remote.jsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/src/remote.jsx b/frontend/src/remote.jsx index be22028..e18d78c 100644 --- a/frontend/src/remote.jsx +++ b/frontend/src/remote.jsx @@ -45,6 +45,11 @@ export default function RemoteControl() { } }); + socket.on('error', async ( data ) => { + alert(`Error: ${data}`); + setStatus('disconnected'); + }); + return () => { socket.disconnect(); };