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 736eb6a commit 7c7a99eCopy full SHA for 7c7a99e
1 file changed
src/components/DocsLayout.tsx
@@ -129,10 +129,7 @@ const useLocalCurrentVersion = create<{
129
*/
130
function useCurrentVersion(versions: string[]) {
131
const navigate = useNavigate()
132
- const { libraryId } = useParams({
133
- from: '/$libraryId/$version/docs',
134
- })
135
-
+
136
const { version: paramsVersion } = useParams({
137
strict: false,
138
})
0 commit comments