diff --git a/pages/_app.tsx b/pages/_app.tsx index 49c37c9c82..19f216a8b5 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -4,6 +4,7 @@ import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; import { appWithTranslation } from 'next-i18next'; import type { AppProps } from 'next/app'; import { Inter } from 'next/font/google'; +import { GoogleTagManager } from '@next/third-parties/google' import '@/styles/globals.css'; @@ -15,6 +16,7 @@ function App({ Component, pageProps }: AppProps<{}>) { return (
+ diff --git a/pages/_document.tsx b/pages/_document.tsx index a26fab2a0a..a187ee8e11 100644 --- a/pages/_document.tsx +++ b/pages/_document.tsx @@ -1,7 +1,6 @@ import { DocumentProps, Head, Html, Main, NextScript } from 'next/document'; import i18nextConfig from '../next-i18next.config'; -import { GoogleTagManager } from '@next/third-parties/google' type Props = DocumentProps & { @@ -13,7 +12,6 @@ export default function Document(props: Props) { props.__NEXT_DATA__.locale ?? i18nextConfig.i18n.defaultLocale; return ( -