Skip to content

Commit c3a943c

Browse files
authored
fix($theme-default): remove error logs for nested sidebar groups (#2191)
1 parent 27275ee commit c3a943c

File tree

1 file changed

+0
-5
lines changed
  • packages/@vuepress/theme-default/util

1 file changed

+0
-5
lines changed

packages/@vuepress/theme-default/util/index.js

-5
Original file line numberDiff line numberDiff line change
@@ -222,11 +222,6 @@ function resolveItem (item, pages, base, groupDepth = 1) {
222222
title: item[1]
223223
})
224224
} else {
225-
if (groupDepth > 3) {
226-
console.error(
227-
'[vuepress] detected a too deep nested sidebar group.'
228-
)
229-
}
230225
const children = item.children || []
231226
if (children.length === 0 && item.path) {
232227
return Object.assign(resolvePage(pages, item.path, base), {

0 commit comments

Comments
 (0)