Handle websocket errors and reconnection. Closes #1869

This commit is contained in:
Gabe Kangas
2022-10-18 16:39:49 -07:00
parent cc94bdeda0
commit 3e89937d2b
2 changed files with 29 additions and 14 deletions

View File

@@ -68,6 +68,7 @@ export const chatAuthenticatedAtom = atom<boolean>({
export const websocketServiceAtom = atom<WebsocketService>({
key: 'websocketServiceAtom',
default: null,
dangerouslyAllowMutability: true,
});
export const appStateAtom = atom<AppStateOptions>({