Browse Source

fix: fix the parent node issue 🎉

main
Dustin Schau 7 years ago
parent
commit
251ef1e752
  1. 2
      plugins/gatsby-transformer-home-example-code/gatsby-node.js

2
plugins/gatsby-transformer-home-example-code/gatsby-node.js

@ -21,7 +21,7 @@ exports.onCreateNode = async ({actions, node, loadNodeContent}) => {
createNode({
id: name,
children: [],
parent: 'EXAMPLES',
parent: node.id,
code,
mdAbsolutePath: absolutePath.replace(/\.js$/, '.md'),
internal: {

Loading…
Cancel
Save