mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 06:06:41 +01: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);
|
console.error(e);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
useInterval(() => checkForUpdates, visible && 1000 * 60 * 30); // 30 minutes
|
useInterval(checkForUpdates, visible && 1000 * 60 * 30); // 30 minutes
|
||||||
usePageVisibility((visible) => {
|
usePageVisibility((visible) => {
|
||||||
if (visible) {
|
if (visible) {
|
||||||
if (!lastCheckDate.current) {
|
if (!lastCheckDate.current) {
|
||||||
|
|
Loading…
Reference in a new issue