diff --git a/pages/_document.js b/pages/_document.js index 103e0b2..64c629a 100644 --- a/pages/_document.js +++ b/pages/_document.js @@ -1,3 +1,4 @@ +/* eslint-disable react/no-danger */ import React from 'react'; import Document, { Html, Head, Main, NextScript, @@ -11,6 +12,26 @@ export default class MyDocument extends Document {
{/* PWA primary color */} + {process.env.NODE_ENV === 'production' && ( + + )} + @@ -60,3 +81,4 @@ MyDocument.getInitialProps = async (ctx) => { ], }; }; +/* eslint-enable react/no-danger */