Fix typo in the docs example (#4382)

This commit is contained in:
Vincent Uden 2022-08-19 10:06:53 +02:00 committed by GitHub
parent 77b068086d
commit 2615042923
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 (i === 0) {
if (!item.header) {
const pesudoSection = { text: '' };
col.push({ ...pesudoSection, children: [] });
const pseudoSection = { text: '' };
col.push({ ...pseudoSection, children: [] });
}
}
if (item.header) {