"use client"; import { usePathname } from "next/navigation"; import KeepOnline from "@/components/KeepOnline"; const KeepOnlineWrapper = () => { const pathname = usePathname(); // Only render KeepOnline on dashboard pages if (!pathname?.includes("/dashboard")) { return null; } return ; }; export default KeepOnlineWrapper;