Skip to content

Commit 60e01f2

Browse files
committed
fix types
1 parent ac87a1f commit 60e01f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/docs/[[...slug]]/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const maps = {
1010
'Tools': <GithubInfo owner="hydro-dev" repo="xcpc-tools" />,
1111
};
1212

13-
export default async function Layout({ children, params }: { children: ReactNode, params: Promise<{ slug: string[] }> }) {
13+
export default async function Layout({ children, params }: { children: ReactNode, params: Promise<{ slug?: string[] }> }) {
1414
const { slug } = await params;
1515
return (
1616
<DocsLayout

0 commit comments

Comments
 (0)