Fix typo in the docs example (#4382)
This commit is contained in:
parent
77b068086d
commit
2615042923
1 changed files with 2 additions and 2 deletions
|
@ -9,8 +9,8 @@ const sidebarSections = SIDEBAR[langCode].reduce((col, item, i) => {
|
||||||
// If the first item is not a section header, create a new container section.
|
// If the first item is not a section header, create a new container section.
|
||||||
if (i === 0) {
|
if (i === 0) {
|
||||||
if (!item.header) {
|
if (!item.header) {
|
||||||
const pesudoSection = { text: '' };
|
const pseudoSection = { text: '' };
|
||||||
col.push({ ...pesudoSection, children: [] });
|
col.push({ ...pseudoSection, children: [] });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (item.header) {
|
if (item.header) {
|
||||||
|
|
Loading…
Reference in a new issue