Update StabilityProvider.tsx

This commit is contained in:
talksik
2022-06-12 12:52:05 -05:00
parent b70c2cef8c
commit 438d5e0b80
@@ -23,6 +23,7 @@ export function StabilityProvider({ children }: { children: React.ReactNode }) {
window.addEventListener('offline', () => setIsOffline(true));
}, [setIsOffline]);
// server check refetching
useEffect(() => {
const interval = setInterval(() => {
if (!state.loading) state.retry();