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 ac87a1f commit 60e01f2Copy full SHA for 60e01f2
app/docs/[[...slug]]/layout.tsx
@@ -10,7 +10,7 @@ const maps = {
10
'Tools': <GithubInfo owner="hydro-dev" repo="xcpc-tools" />,
11
};
12
13
-export default async function Layout({ children, params }: { children: ReactNode, params: Promise<{ slug: string[] }> }) {
+export default async function Layout({ children, params }: { children: ReactNode, params: Promise<{ slug?: string[] }> }) {
14
const { slug } = await params;
15
return (
16
<DocsLayout
0 commit comments