We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bddab68 commit 42c8c18Copy full SHA for 42c8c18
src/app/AdSense.js
src/app/layout.tsx
@@ -3,18 +3,16 @@ import "./globals.css";
3
import { Navigation } from "./ui/Navigation";
4
import { AntdRegistry } from "@ant-design/nextjs-registry";
5
import { GoogleTagManager } from "@next/third-parties/google";
6
-import AdsenseAd from "./AdSense";
7
8
export default function RootLayout({ children }: { children: React.ReactNode }) {
9
return (
10
<html lang="zh-Hans">
11
- <GoogleTagManager gtmId="GTM-WBM6XHGB" />
+ <GoogleTagManager gtmId="GTM-YourTag" />
12
<body>
13
<Navigation />
14
<AntdRegistry>
15
<main>
16
{children}
17
- <AdsenseAd />
18
</main>
19
</AntdRegistry>
20
</body>
0 commit comments