mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-25 23:05:23 +00:00
fix: fix the parent node issue 🎉
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user