diff --git a/desktop/static/index.web.dev.html b/desktop/static/index.web.dev.html
index 935f05eb6..18aab2fb3 100644
--- a/desktop/static/index.web.dev.html
+++ b/desktop/static/index.web.dev.html
@@ -64,7 +64,6 @@
(async function () {
// Line below needed to make Metro work. Alternatives could be considered.
window.global = window;
- let connected = false;
// Listen to changes in the network state, reload when online.
// This handles the case when the device is completely offline
@@ -129,21 +128,8 @@
}
}
}
- })
-
- socket.addEventListener('error', (e) => {
- if (!connected) {
- console.warn('Socket failed to connect. Is the server running? Have you provided a valid authentication token?');
- }
- else {
- console.warn('Socket failed with error.', e);
- }
});
- socket.addEventListener('open', () => {
- connected = true;
- })
-
// load correct theme (n.b. this doesn't handle system value specifically, will assume light in such cases)
try {
if (window.flipperConfig.theme === 'dark') {