IO-2733 Resolve notification showing incorrect time.

This commit is contained in:
Patrick Fic
2024-09-13 10:51:04 -07:00
parent 954504de8d
commit 73ec8b8a70
2 changed files with 4 additions and 4 deletions

View File

@@ -64,7 +64,7 @@ export function UpdateAlert({ updateAvailable }) {
}, [start, needRefresh, offlineReady]);
useEffect(() => {
if (needRefresh && timeLeft < 60000) {
if (needRefresh && timerStarted && timeLeft < 60000) {
notification.open({
type: "warning",
closable: false,