diff --git a/core/gatsby-theme-docz/src/base/Layout.js b/core/gatsby-theme-docz/src/base/Layout.js index 7de82e329..5ded5cf27 100644 --- a/core/gatsby-theme-docz/src/base/Layout.js +++ b/core/gatsby-theme-docz/src/base/Layout.js @@ -17,7 +17,7 @@ const Route = ({ children, entry, ...defaultProps }) => { if (!entry) return return ( - + {children} diff --git a/core/gatsby-theme-docz/src/wrapper.js b/core/gatsby-theme-docz/src/wrapper.js index 104231849..a276b1f03 100644 --- a/core/gatsby-theme-docz/src/wrapper.js +++ b/core/gatsby-theme-docz/src/wrapper.js @@ -1,4 +1,6 @@ import * as React from 'react' -const Wrapper = ({ children }) => {children} +const Wrapper = ({ children }) => ( + {children} +) export default Wrapper