mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
30 lines
691 B
TypeScript
30 lines
691 B
TypeScript
import LeftMenu from '@components/Dashboard/UI/LeftMenu'
|
|
import AdminAuthorization from '@components/Security/AdminAuthorization'
|
|
import ClientComponentSkeleton from '@components/Utils/ClientComp'
|
|
import { Metadata } from 'next'
|
|
import { SessionProvider } from 'next-auth/react'
|
|
import React from 'react'
|
|
import ClientAdminLayout from './ClientAdminLayout'
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'LearnHouse Dashboard',
|
|
}
|
|
|
|
function DashboardLayout({
|
|
children,
|
|
params,
|
|
}: {
|
|
children: React.ReactNode
|
|
params: any
|
|
}) {
|
|
return (
|
|
<>
|
|
<ClientAdminLayout
|
|
params={params}>
|
|
{children}
|
|
</ClientAdminLayout>
|
|
</>
|
|
)
|
|
}
|
|
|
|
export default DashboardLayout
|