From e869917d66eeb291d44977203c138374cba18b6e Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Fri, 13 Oct 2023 14:26:19 -0600 Subject: [PATCH] Remove unused --- web/src/api/ws.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/api/ws.jsx b/web/src/api/ws.jsx index 9aab6e1e5..b8c817e62 100644 --- a/web/src/api/ws.jsx +++ b/web/src/api/ws.jsx @@ -3,7 +3,7 @@ import { baseUrl } from './baseUrl'; import { produce } from 'immer'; import { useCallback, useContext, useEffect, useRef, useReducer } from 'preact/hooks'; -const initialState = Object.freeze({ __connected: false, __reconnectAttempts: 0 }); +const initialState = Object.freeze({ __connected: false }); export const WS = createContext({ state: initialState, connection: null }); const defaultCreateWebsocket = (url) => new WebSocket(url);