We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a641620 commit 9c5440cCopy full SHA for 9c5440c
gatsby-ssr.js
@@ -1,6 +1,6 @@
1
import React from 'react';
2
3
-export const onRenderBody = ({ setHeadComponents }) => {
+export const onRenderBody = ({ setPostBodyComponents }) => {
4
if (process.env.NODE_ENV !== `production`) {
5
return null;
6
}
@@ -24,10 +24,10 @@ export const onRenderBody = ({ setHeadComponents }) => {
24
},
25
}`;
26
27
- return setHeadComponents([
+ return setPostBodyComponents([
28
<script key="digital-data" dangerouslySetInnerHTML={{ __html: script }} />,
29
<script
30
- async="async"
+ defer
31
key="core-metrics"
32
src="https://1.www.s81c.com/common/stats/ibm-common.js"
33
type="text/javascript"
0 commit comments