File tree 1 file changed +14
-12
lines changed
1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -3,25 +3,27 @@ import DashboardSidebar from "@/components/DashboardView/common/DashboardSidebar
3
3
import { useState } from "react" ;
4
4
import { Outlet } from "react-router-dom" ;
5
5
6
-
7
6
const DashboardLayout = ( ) => {
8
7
const [ profileOpen , setProfileOpen ] = useState ( false ) ;
9
8
const [ sidebarOpen , setSidebarOpen ] = useState ( false ) ;
10
9
return (
11
10
< div className = "relative pt-[70px] h-screen scroll-smooth" >
12
-
13
- < DashboardHeader profileOpen = { profileOpen } setProfileOpen = { setProfileOpen } />
11
+ < DashboardHeader
12
+ profileOpen = { profileOpen }
13
+ setProfileOpen = { setProfileOpen }
14
+ />
14
15
15
- < div >
16
- < div className = "flex items-start" >
17
- < DashboardSidebar setSidebarOpen = { setSidebarOpen } sidebarOpen = { sidebarOpen } />
16
+ Hello senders
17
+ < div className = "flex items-start" >
18
+ < DashboardSidebar
19
+ setSidebarOpen = { setSidebarOpen }
20
+ sidebarOpen = { sidebarOpen }
21
+ />
18
22
19
- < section className = "main-content w-full overflow-auto p-6 " >
20
- < Outlet />
21
- { /* <div className="overflow-x-auto no-scrollbar">
22
- </div> */ }
23
- </ section >
24
- </ div >
23
+ < section className = "main-content w-full overflow-auto p-6 " >
24
+ < Outlet />
25
+
26
+ </ section >
25
27
</ div >
26
28
</ div >
27
29
) ;
You can’t perform that action at this time.
0 commit comments