Files
ember-market-frontend/components/layout/KeepOnlineWrapper.tsx
2025-08-23 15:35:52 +01:00

16 lines
314 B
TypeScript

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