update gatsby settings
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
8bfac64d4b
commit
a99325e902
@@ -6,7 +6,7 @@ import headComponents from './src/head';
|
||||
|
||||
import { createStore } from './src/redux/store';
|
||||
|
||||
exports.replaceRenderer = ({
|
||||
export const replaceRenderer = ({
|
||||
history,
|
||||
bodyComponent,
|
||||
replaceBodyHTMLString
|
||||
@@ -19,7 +19,7 @@ exports.replaceRenderer = ({
|
||||
replaceBodyHTMLString(renderToString(<ConnectedBody />));
|
||||
};
|
||||
|
||||
exports.onRenderBody = ({ setHeadComponents, setPostBodyComponents }) => {
|
||||
export const onRenderBody = ({ setHeadComponents, setPostBodyComponents }) => {
|
||||
setHeadComponents([...headComponents]);
|
||||
setPostBodyComponents([
|
||||
<script
|
||||
|
Reference in New Issue
Block a user