20 lines
413 B
TypeScript
20 lines
413 B
TypeScript
'use client'
|
|
import { SatkerLayout } from '@/components/layout/SatKerLayout';
|
|
import { usePathname } from 'next/navigation';
|
|
import React from 'react';
|
|
|
|
export default function DinamicSatkerLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode
|
|
}) {
|
|
// const pathname = usePathname();
|
|
// console.log(pathname)
|
|
|
|
return (
|
|
<SatkerLayout>
|
|
{children}
|
|
</SatkerLayout>
|
|
)
|
|
}
|