We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d031ed3 commit aff2aabCopy full SHA for aff2aab
src/app/(dashboard)/dashboard/[[...slug]]/page.tsx
@@ -7,8 +7,9 @@ interface DashboardPageProps {
7
}
8
9
export default async function DashboardPage({ params }: DashboardPageProps) {
10
- const slug = params.slug
+ const slug = params.slug?.join('/') || ''
11
const pageDisplay = slug ? `/dashboard/${slug}` : '/dashboard'
12
+
13
return (
14
<div className='container py-4'>
15
<Card className='text-center'>
0 commit comments