From fabad03bab9c5b3643948cc0a3abe2bac90f974a Mon Sep 17 00:00:00 2001 From: Pierre Balzack Date: Tue, 27 Jun 2023 17:55:33 -0700 Subject: [PATCH] fix lint warning --- net/web/src/context/useAppContext.hook.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/web/src/context/useAppContext.hook.js b/net/web/src/context/useAppContext.hook.js index 7284cc83..8b488215 100644 --- a/net/web/src/context/useAppContext.hook.js +++ b/net/web/src/context/useAppContext.hook.js @@ -175,7 +175,7 @@ export function useAppContext(websocket) { ws.current = createWebsocket(protocol + window.location.host + "/status?mode=ring"); ws.current.onmessage = (ev) => { try { - if (ev.data == '') { + if (ev.data === '') { appLogout(false); return; }