Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
4b7ebbb36e
|
|
@ -71,7 +71,8 @@ function renderItems(items: TocResult["map"], activeId: string, prefix = "") {
|
|||
}
|
||||
>
|
||||
{`${prefix}${index + 1}. ${
|
||||
child.children[0].children?.[0]?.value
|
||||
child.children[0].children?.[0]?.value ||
|
||||
child.children[0].children?.[0]?.children?.[0]?.value
|
||||
}`}
|
||||
</Link>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Reference in New Issue