Skip to content

Commit

Permalink
Add some keys to keep linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
0x80 committed Jun 21, 2017
1 parent 61a4d0c commit c2871f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/gatsby-plugin-google-tagmanager/src/gatsby-ssr.js
Original file line number Diff line number Diff line change
@@ -8,6 +8,7 @@ exports.onRenderBody = (
if (process.env.NODE_ENV === `production`) {
setHeadComponents([
<script
key="plugin-google-tagmanager"
dangerouslySetInnerHTML={{
__html: stripIndent`
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
@@ -21,6 +22,7 @@ exports.onRenderBody = (

setPreBodyComponents([
<noscript
key="plugin-google-tagmanager"
dangerouslySetInnerHTML={{
__html: stripIndent`
<iframe

0 comments on commit c2871f9

Please sign in to comment.