mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 21:45:31 +09:00
fix(app): jitter gateway reconnects and recover status nagbar (#2439)
This commit is contained in:
1 parent
b0645300ec
commit
cc3a9c8613
3 files changed
+24
-13
No files matched your search
@@ -86,6 +86,12 @@ export function useConnectionNotice(): ConnectionNotice | null {
|
||||
}, BOOT_NOTICE_DELAY_MS);
|
||||
return () => window.clearTimeout(timer);
|
||||
}, [booting]);
|
||||
useEffect(() => {
|
||||
if (!reconnecting) {
|
||||
return;
|
||||
}
|
||||
StatusPage.refreshForConnectionIssue();
|
||||
}, [reconnecting]);
|
||||
if (Nagbar.forceHideConnectionNotice) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user