We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97e1a83 commit a462981Copy full SHA for a462981
packages/query-devtools/src/Devtools.tsx
@@ -492,6 +492,7 @@ export const DevtoolsPanel: Component<DevtoolsPanelProps> = (props) => {
492
} else {
493
onlineManager().setOnline(false)
494
setOffline(true)
495
+ window.dispatchEvent(new Event('offline'))
496
}
497
}}
498
class={styles.actionsBtn}
0 commit comments