File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ const useLocalCurrentVersion = create<{
129129 */
130130function useCurrentVersion ( versions : string [ ] ) {
131131 const navigate = useNavigate ( )
132-
132+
133133 const { version : paramsVersion } = useParams ( {
134134 strict : false ,
135135 } )
@@ -404,16 +404,16 @@ export function DocsLayout({
404404 </ a >
405405 ) : (
406406 < Link
407- to = {
408- child . to . startsWith ( '/' )
409- ? child . to
410- : '/$libraryId/$version/docs/$'
411- }
412- params = { {
413- libraryId,
414- version : params . version || 'latest' ,
415- _splat : child . to ,
416- } }
407+ to = {
408+ child . to . startsWith ( '/' )
409+ ? child . to
410+ : '/$libraryId/$version/docs/$'
411+ }
412+ params = { {
413+ libraryId,
414+ version : params . version || 'latest' ,
415+ _splat : child . to ,
416+ } }
417417 onClick = { ( ) => {
418418 detailsRef . current . removeAttribute ( 'open' )
419419 } }
You can’t perform that action at this time.
0 commit comments