Created
June 18, 2021 23:58
-
-
Save vzhou842/9bb68147381692ff20ca5ad25b16d2bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const React = require('react'); | |
exports.onRenderBody = ({ setHeadComponents }) => { | |
setHeadComponents([ | |
<script | |
dangerouslySetInnerHTML={{ | |
__html: '// REPLACE THIS WITH ACTUAL CODE', | |
}} | |
/>, | |
]); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment