2024-02-23 12:34:32 +00:00
|
|
|
'use client'
|
2024-03-02 15:25:48 +00:00
|
|
|
import { SatkerLayout } from '@/components/layout/SatKerLayout';
|
2024-02-23 12:34:32 +00:00
|
|
|
import { usePathname } from 'next/navigation';
|
2024-03-02 15:25:48 +00:00
|
|
|
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-02-23 12:34:32 +00:00
|
|
|
children,
|
|
|
|
|
}: {
|
|
|
|
|
children: React.ReactNode
|
|
|
|
|
}) {
|
|
|
|
|
const pathname = usePathname();
|
|
|
|
|
console.log(pathname)
|
|
|
|
|
|
|
|
|
|
return (
|
2024-03-02 15:25:48 +00:00
|
|
|
<SatkerLayout>
|
2024-02-23 12:34:32 +00:00
|
|
|
{children}
|
2024-03-02 15:25:48 +00:00
|
|
|
</SatkerLayout>
|
2024-02-23 12:34:32 +00:00
|
|
|
)
|
|
|
|
|
}
|