Skip to content

Commit 4fdb6ed

Browse files
committed
format
1 parent 27b0b70 commit 4fdb6ed

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/components/DocsLayout.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,11 @@ export function DocsLayout({
399399
</a>
400400
) : (
401401
<Link
402-
to={child.to.startsWith('/') ? child.to : "/$libraryId/$version/docs/$"}
402+
to={
403+
child.to.startsWith('/')
404+
? child.to
405+
: '/$libraryId/$version/docs/$'
406+
}
403407
params={{
404408
libraryId,
405409
version: params.version || 'latest',

0 commit comments

Comments
 (0)