diff --git a/gatsby-node.js b/gatsby-node.js index 40135d2a..780394c9 100644 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -43,16 +43,6 @@ exports.createPages = async ({ actions, graphql, reporter }) => { }); }; -exports.onCreatePage = async ({ page, actions }) => { - //const { createPage, deletePage } = actions; - //const oldPage = { ...page }; - //if (page.path === '/instant-observability/') { - //page.context.layout = 'QuickStartLayout'; - //} - //deletePage(oldPage); - //createPage(page); -}; - exports.onCreateNode = ({ node, actions }) => { const { createNodeField } = actions;