diff --git a/src/lib/components/layout/AppLayout.tsx b/src/lib/components/layout/AppLayout.tsx index d529376..0668ee2 100644 --- a/src/lib/components/layout/AppLayout.tsx +++ b/src/lib/components/layout/AppLayout.tsx @@ -2,7 +2,6 @@ import type { AppProps } from 'next/app' import AppProviders from './AppProviders' import ErrorBoundary from './ErrorBoundary' -import GoogleAds from './GoogleAds' import PageSkeleton from './PageSkeleton' function AppLayout({ Component, pageProps }: AppProps | any) { @@ -10,7 +9,6 @@ function AppLayout({ Component, pageProps }: AppProps | any) { - diff --git a/src/pages/_document.tsx b/src/pages/_document.tsx index 1973316..d75a444 100644 --- a/src/pages/_document.tsx +++ b/src/pages/_document.tsx @@ -1,6 +1,7 @@ import Document, { Head, Html, Main, NextScript } from 'next/document' import DocumentHeadContent from '@/lib/components/layout/DocumentHeadContent' +import Script from 'next/script' class RootDocument extends Document { render() { @@ -10,6 +11,12 @@ class RootDocument extends Document { +