How did I even code this

This commit is contained in:
Lim Chee Aun 2023-05-05 17:53:34 +08:00
parent 711842916d
commit 123da4af79

View file

@ -484,7 +484,7 @@ function BackgroundService({ isLoggedIn }) {
console.error(e);
});
};
useInterval(() => checkForUpdates, visible && 1000 * 60 * 30); // 30 minutes
useInterval(checkForUpdates, visible && 1000 * 60 * 30); // 30 minutes
usePageVisibility((visible) => {
if (visible) {
if (!lastCheckDate.current) {