Skip to content

Commit

Permalink
refactor: remove out-of-scope pageQuery fix
Browse files Browse the repository at this point in the history
  • Loading branch information
axe312ger committed Jun 8, 2022
1 parent 36f6b4c commit 472b919
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/gatsby-plugin-mdx/src/gatsby-layout-loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,6 @@ const gatsbyLayoutLoader: LoaderDefinition = async function () {
type: `mdxjsEsm` as `text`,
value: `export * from "${layoutPath}"`,
})

tree.children.push({
type: `mdxjsEsm` as `text`,
value: `export default GatsbyMDXLayout`,
})
const out = toMarkdown(tree, {
extensions: [mdxToMarkdown() as Options],
})
Expand Down

0 comments on commit 472b919

Please sign in to comment.