IO-2733 Resolve notification showing incorrect time.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user