2024-11-05 06:15:40 +00:00
|
|
|
"use client";
|
|
|
|
|
import { SatkerLayout } from "@/components/layout/satker-layout";
|
|
|
|
|
import { usePathname } from "next/navigation";
|
|
|
|
|
import React from "react";
|
2024-02-23 12:34:32 +00:00
|
|
|
|
2024-03-02 15:25:48 +00:00
|
|
|
export default function DinamicSatkerLayout({
|
2024-11-05 06:15:40 +00:00
|
|
|
children,
|
2024-02-23 12:34:32 +00:00
|
|
|
}: {
|
2024-11-05 06:15:40 +00:00
|
|
|
children: React.ReactNode;
|
2024-02-23 12:34:32 +00:00
|
|
|
}) {
|
2024-11-05 06:15:40 +00:00
|
|
|
// const pathname = usePathname();
|
|
|
|
|
// console.log(pathname)
|
2024-02-23 12:34:32 +00:00
|
|
|
|
2024-11-05 06:15:40 +00:00
|
|
|
return <SatkerLayout>{children}</SatkerLayout>;
|
2024-02-23 12:34:32 +00:00
|
|
|
}
|