kopia lustrzana https://github.com/cheeaun/phanpy
How did I even code this
rodzic
711842916d
commit
123da4af79
|
@ -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) {
|
||||||
|
|
Ładowanie…
Reference in New Issue