From 688049839e33447096b5826c84b60e2e0c8d5825 Mon Sep 17 00:00:00 2001 From: sijinhui Date: Fri, 6 Sep 2024 18:00:58 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A6=81=E7=94=A8=E8=B0=B7=E6=AD=8C=E5=88=86?= =?UTF-8?q?=E6=9E=90=EF=BC=8C=E6=B2=A1=E5=95=A5=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/layout.tsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index 46f6ca8ba..afd7345b9 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -6,7 +6,7 @@ import { getClientConfig } from "./config/client"; import type { Metadata, Viewport } from "next"; import { SpeedInsights } from "@vercel/speed-insights/next"; import { getServerSideConfig } from "./config/server"; -import { GoogleTagManager, GoogleAnalytics } from "@next/third-parties/google"; +import { GoogleTagManager } from "@next/third-parties/google"; const serverConfig = getServerSideConfig(); import { Providers } from "@/app/providers"; // import { Viewport } from "next"; @@ -87,16 +87,16 @@ export default function RootLayout({ )} - {serverConfig?.gtmId && ( - <> - - - )} - {serverConfig?.gaId && ( - <> - - - )} + {/*{serverConfig?.gtmId && (*/} + {/* <>*/} + {/* */} + {/* */} + {/*)}*/} + {/*{serverConfig?.gaId && (*/} + {/* <>*/} + {/* */} + {/* */} + {/*)}*/} );