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 097b57a commit 8d815fcCopy full SHA for 8d815fc
1 file changed
src/components/DocsLayout.tsx
@@ -418,9 +418,7 @@ export function DocsLayout({
418
children,
419
}: DocsLayoutProps) {
420
const params = useParams({ strict: false })
421
- const { libraryId } = useParams({
422
- from: '/$libraryId/$version/docs',
423
- })
+ const libraryId = params.libraryId || ''
424
const { _splat } = params
425
426
const { framework: currentFramework } = useCurrentFramework(frameworks)
0 commit comments