doc.silverstripe.org/gatsby-ssr.js
2019-11-08 16:53:25 +13:00

6 lines
195 B
JavaScript

const Layout = require('./src/components/Layout').default;
const React = require('react');
exports.wrapPageElement = ({ element, props }) => {
return <Layout {...props}>{element}</Layout>
};