feature/IO-3103-Ant5-Notifications - Missing Deps on UseDep

This commit is contained in:
Dave Richer
2025-01-21 18:19:32 -08:00
parent b1ca423a59
commit ed023cd62a
5 changed files with 5 additions and 5 deletions

View File

@@ -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;