mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-24 10:15:37 +03:00
How did I even code this
This commit is contained in:
parent
711842916d
commit
123da4af79
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue