From cad975f8122a2fcaf889ae3abe88abd443e8fe6a Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Tue, 15 Aug 2023 12:57:56 +0800 Subject: [PATCH] hotfix/gitbook --- themes/gitbook/components/NavPostList.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/themes/gitbook/components/NavPostList.js b/themes/gitbook/components/NavPostList.js index a300e502..48222a46 100644 --- a/themes/gitbook/components/NavPostList.js +++ b/themes/gitbook/components/NavPostList.js @@ -31,9 +31,6 @@ const NavPostList = (props) => { groups.push({ category: categoryName, items: [] }) } } - - groups[groups.length - 1].items.push(item) // 将元素加入对应的分组 - return groups }, [])