Skip to content

Commit d673d5c

Browse files
committed
refactor: remove out-of-scope pageQuery fix
1 parent 6e42845 commit d673d5c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/gatsby-plugin-mdx/src/gatsby-layout-loader.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,6 @@ const gatsbyLayoutLoader: LoaderDefinition = async function () {
6868
type: `mdxjsEsm` as `text`,
6969
value: `import GatsbyMDXLayout from "${layoutPath}"`,
7070
})
71-
tree.children.push({
72-
type: `mdxjsEsm` as `text`,
73-
value: `export * from "${layoutPath}"`,
74-
})
75-
7671
tree.children.push({
7772
type: `mdxjsEsm` as `text`,
7873
value: `export default GatsbyMDXLayout`,

0 commit comments

Comments
 (0)