remove comments

This commit is contained in:
NotII
2025-08-23 15:35:52 +01:00
parent e2db2d5027
commit 4e155a378e
3 changed files with 2 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ import { useKeepOnline } from "@/hooks/useKeepOnline";
const KeepOnline = () => {
useKeepOnline({
interval: 1000 * 60 * 1, // 1 minute
interval: 1000 * 60 * 1,
enabled: true,
onError: (error) => {
console.error("Keep online error:", error);

View File

@@ -6,7 +6,6 @@ import KeepOnline from "@/components/KeepOnline";
const KeepOnlineWrapper = () => {
const pathname = usePathname();
// Only render KeepOnline on dashboard pages
if (!pathname?.includes("/dashboard")) {
return null;
}

View File

@@ -9,7 +9,7 @@ interface UseKeepOnlineOptions {
export const useKeepOnline = (options: UseKeepOnlineOptions = {}) => {
const {
interval = 1000 * 60 * 1, // 1 minute default
interval = 1000 * 60 * 1,
enabled = true,
onError
} = options;