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