docs: fix error when translating page (#13681)
This commit is contained in:
1 parent
fcb977a989
commit
ad46a86a8f
1 file changed
+6
-3
@@ -126,9 +126,12 @@ const TocItem = ({ item, activeItemId }: TocItemProps) => {
|
|||||||
scrollToElement(elm)
|
scrollToElement(elm)
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{item.id === activeItemId && (
|
<span
|
||||||
<span className="absolute left-0 top-0 w-[1.5px] h-full bg-medusa-fg-base rounded-full" />
|
className={clsx(
|
||||||
)}
|
"absolute left-0 top-0 w-[1.5px] h-full bg-medusa-fg-base rounded-full",
|
||||||
|
item.id !== activeItemId && "invisible"
|
||||||
|
)}
|
||||||
|
/>
|
||||||
{item.title}
|
{item.title}
|
||||||
</Link>
|
</Link>
|
||||||
{(item.children?.length ?? 0) > 0 && (
|
{(item.children?.length ?? 0) > 0 && (
|
||||||
|
|||||||
Reference in new issue
Block a user