diff --git a/web/components/stores/ClientConfigStore.tsx b/web/components/stores/ClientConfigStore.tsx index b8ee692ea..9fe7db198 100644 --- a/web/components/stores/ClientConfigStore.tsx +++ b/web/components/stores/ClientConfigStore.tsx @@ -185,7 +185,7 @@ export const ClientConfigStore: FC = () => { return; } - if (status.online && appState.matches('ready.offline')) { + if (status.online && appState.matches('ready')) { sendEvent(AppStateEvent.Online); } else if (!status.online && !appState.matches('ready.offline')) { sendEvent(AppStateEvent.Offline);