Skip to content

Commit 5ea0506

Browse files
committed
fix: fix ads
1 parent 903215d commit 5ea0506

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

apps/www/app/docs/@aside/[name]/page.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
import Link from "next/link";
1+
"use client";
2+
3+
import Script from "next/script";
24
import {
35
Card,
46
CardContent,
57
CardHeader,
68
CardTitle,
79
} from "@workspace/ui/components/card";
8-
import Script from "next/script";
910

1011
export default function HookAside() {
1112
return (
@@ -39,7 +40,7 @@ export default function HookAside() {
3940
data-ad-slot="9540285659"
4041
data-ad-format="auto"
4142
data-full-width-responsive="true"
42-
></ins>
43+
/>
4344

4445
<Script
4546
id="adsense-docs-aside"

apps/www/app/docs/@aside/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export default function DocsAside() {
4040
data-ad-slot="9540285659"
4141
data-ad-format="auto"
4242
data-full-width-responsive="true"
43-
></ins>
43+
/>
4444

4545
<Script
4646
id="adsense-docs-aside"

0 commit comments

Comments
 (0)