diff --git a/pages/_document.tsx b/pages/_document.tsx index a5ee984..1e31d0c 100644 --- a/pages/_document.tsx +++ b/pages/_document.tsx @@ -1,30 +1,14 @@ /* eslint-disable @next/next/no-sync-scripts */ import Document, { Html, Head, Main, NextScript } from 'next/document' -const isProd = process.env.NODE_ENV === 'production' - class MyDocument extends Document { render() { return (
- {isProd && ( - - )} - {isProd && ( - - )} + {process.env.NODE_ENV === 'production' && }