Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
externl committed Nov 13, 2024
1 parent 281208e commit 9c1088e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/[...slug]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
import { PathProvider } from 'context/state';

export default function DocsLayout(props: any) {
const path = '/' + props.params.slug?.join('/') ?? '';
const path = '/' + (props.params.slug?.join('/') ?? '');
return <PathProvider path={path}>{props.children}</PathProvider>;
}

0 comments on commit 9c1088e

Please sign in to comment.