Commit 63b593f
fix: load AdSense script via next/script for proper client-side execution
Previously used raw <script> in <head> which Next.js may not execute properly.
Now uses Script component with strategy="afterInteractive".
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 6408ced commit 63b593f
1 file changed
Lines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
| 90 | + | |
97 | 91 | | |
98 | 92 | | |
99 | 93 | | |
100 | 94 | | |
101 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
102 | 101 | | |
103 | 102 | | |
104 | 103 | | |
| |||
0 commit comments