We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9fe70e commit 0656af3Copy full SHA for 0656af3
src/lib/hooks/useOnlineStatus.js
@@ -12,6 +12,7 @@ function useConnectionStatus(sdk, logger) {
12
logger.warning('sdk changed', uniqueHandlerId);
13
const handler = new ConnectionHandler();
14
handler.onDisconnected = () => {
15
+ setIsOnline(false);
16
logger.warning('onDisconnected', { isOnline });
17
};
18
handler.onReconnectStarted = () => {
0 commit comments