Skip to content

Commit 7c7a99e

Browse files
committed
remove $libraryId
1 parent 736eb6a commit 7c7a99e

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/components/DocsLayout.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,7 @@ const useLocalCurrentVersion = create<{
129129
*/
130130
function useCurrentVersion(versions: string[]) {
131131
const navigate = useNavigate()
132-
const { libraryId } = useParams({
133-
from: '/$libraryId/$version/docs',
134-
})
135-
132+
136133
const { version: paramsVersion } = useParams({
137134
strict: false,
138135
})

0 commit comments

Comments
 (0)