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 2644bb8
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 @@ -68,11 +68,6 @@ const gatsbyLayoutLoader: LoaderDefinition = async function () {
type: `mdxjsEsm` as `text`,
value: `import GatsbyMDXLayout from "${layoutPath}"`,
})
tree.children.push({
type: `mdxjsEsm` as `text`,
value: `export * from "${layoutPath}"`,
})

tree.children.push({
type: `mdxjsEsm` as `text`,
value: `export default GatsbyMDXLayout`,
Expand Down

0 comments on commit 2644bb8

Please sign in to comment.