Codewise
Courses
My learning
Ideas
Leaderboard
YouTube
Courses
My learning
Ideas
Leaderboard
YouTube
Sign in
client/src/app/(private)/dashboard/layout.tsx · AI Contract Analysis SaaS | Codewise
AI Contract Analysis SaaS
contract-analysis
/
client
/
src
/
app
/
(private)
/
dashboard
/
layout.tsx
layout.tsx
14 lines, 446 B
Raw
1
import
{ ProtectedLayout }
from
"@/components/dashboard/protected-layout"
;
2
import
DashboardLayout
from
"@/components/dashboard/sidebar"
;
3
4
export
default
function
Layout
({ children }
:
{ children
:
React.ReactNode })
{
5
return
(
6
<
ProtectedLayout
>
7
<
DashboardLayout
>
8
<
main
className
=
"flex-1 overflow-x-hidden bg-white overflow-y-auto p-6"
>
9
{
children
}
10
</
main
>
11
</
DashboardLayout
>
12
</
ProtectedLayout
>
13
);
14
}