File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 11'use client' ;
22
33import React from 'react' ;
4- import { useParams } from 'next/navigation' ;
54import { SidebarNavItem } from '@/types' ;
65
76import { cn } from '@/lib/utils' ;
@@ -18,8 +17,6 @@ interface DashboardLayoutProps {
1817export default function OrgDashboardLayout ( { children } : DashboardLayoutProps ) {
1918 const [ isOpened , setIsOpened ] = React . useState ( false ) ;
2019
21- const params = useParams < { organizationId : string } > ( ) ;
22-
2320 const orgSidebarNav : Array < SidebarNavItem > = [
2421 {
2522 title : 'Use Cases' ,
@@ -28,8 +25,6 @@ export default function OrgDashboardLayout({ children }: DashboardLayoutProps) {
2825 } ,
2926 ] ;
3027
31- const organizationId = params . organizationId ;
32-
3328 return (
3429 < React . Suspense fallback = { < LoadingPage /> } >
3530 < BreadCrumbs
@@ -47,7 +42,7 @@ export default function OrgDashboardLayout({ children }: DashboardLayoutProps) {
4742 ' bg-surfaceDefault p-4 md:flex'
4843 ) }
4944 >
50- < DashboardNav items = { orgSidebarNav } entitySlug = { organizationId } />
45+ < DashboardNav items = { orgSidebarNav } />
5146
5247 < div className = "z-1 basis-2 md:hidden" >
5348 < MobileDashboardNav
You can’t perform that action at this time.
0 commit comments