docs: fix error when translating page (#13681)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-10-03 16:03:33 +03:00
1 parent fcb977a989
commit ad46a86a8f
1 file changed
+5 -2
@@ -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 && (