Skip to content

Commit 1b6ad56

Browse files
committed
Fix Learn Sidebar
1 parent 33e3e9e commit 1b6ad56

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

gatsby-node.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ exports.createPages = async ({ graphql, actions }) => {
148148
const { category: definedCategory, next: definedNextPageUrl } = frontmatter
149149
let category = definedCategory || folder
150150
if (!currentCategory || category !== currentCategory.name) {
151-
currentCategory && categories.push(currentCategory)
152151
currentCategory = {
153152
name: category,
154153
links: [],

0 commit comments

Comments
 (0)