This commit is contained in:
NotII
2025-05-19 17:51:06 +01:00
parent 02e09003d5
commit 308a816736
6 changed files with 36 additions and 230 deletions

View File

@@ -11,7 +11,7 @@ const KeepOnline = () => {
clientFetch('/auth/me');
}
updateOnlineStatus();
// Start interval without immediate call
const interval = setInterval(updateOnlineStatus, 1000*60*1);
return () => clearInterval(interval);