diff --git a/themes/gitbook/components/NavPostItem.js b/themes/gitbook/components/NavPostItem.js index 4d1637e9..a4cd7178 100644 --- a/themes/gitbook/components/NavPostItem.js +++ b/themes/gitbook/components/NavPostItem.js @@ -18,7 +18,7 @@ const NavPostItem = (props) => { } if (group?.category) { - return
+ return <>
@@ -30,13 +30,13 @@ const NavPostItem = (props) => {
)) } -
+ } else { - return
- {group?.items?.map(post => (
-
)) + return <> + {group?.items?.map(post => (
+
)) } -
+ } }