message: Moved Google Tag Manager scripts on the correct place in _app.tsx
diff: @@ -13,19 +13,6 @@ export default class CustomDocument extends Document {
  return (
  <Html lang="en">
  <Head>
  - {/* PWA primary color */}
  - <meta name="theme-color" content={theme.palette.primary.main} />
  - <link rel="preconnect" href="https://fonts.gstatic.com" />
  - <link
  - href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap"
  - rel="stylesheet"
  - />
  - <FaviconMetadata />
  - </Head>
  - <body>
  - <Main />
  - <NextScript />
  - <>
  {/* Google Tag Manager */}
  <script
  dangerouslySetInnerHTML={{
  @@ -37,6 +24,16 @@ export default class CustomDocument extends Document {
  }}
  />
  {/* End Google Tag Manager */}
  + {/* PWA primary color */}
  + <meta name="theme-color" content={theme.palette.primary.main} />
  + <link rel="preconnect" href="https://fonts.gstatic.com" />
  + <link
  + href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap"
  + rel="stylesheet"
  + />
  + <FaviconMetadata />
  + </Head>
  + <body>
  {/* Google Tag Manager (noscript) */}
  <noscript
  dangerouslySetInnerHTML={{
  @@ -44,7 +41,8 @@ export default class CustomDocument extends Document {
  }}
  />
  {/* End Google Tag Manager (noscript) */}
  - </>
  + <Main />
  + <NextScript />
  </body>
  </Html>
  )
  