feature/IO-3103-Ant5-Notifications - Missing Deps on UseDep
This commit is contained in:
@@ -88,7 +88,7 @@ export function UpdateAlert({ updateAvailable }) {
|
||||
if (needRefresh && timerStarted && timeLeft <= 0) {
|
||||
ReloadNewVersion();
|
||||
}
|
||||
}, [timeLeft, t, needRefresh, ReloadNewVersion, timerStarted]);
|
||||
}, [timeLeft, t, needRefresh, ReloadNewVersion, timerStarted, notification]);
|
||||
|
||||
if (!needRefresh) return null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user