fix: fix the parent node issue 🎉

This commit is contained in:
Dustin Schau
2018-09-28 17:59:06 -05:00
parent 169754fb1b
commit 251ef1e752

View File

@@ -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: {