We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34d34f6 commit 53fe753Copy full SHA for 53fe753
1 file changed
apps/frontend/src/modules/shared/components/GoogleAdSense.tsx
@@ -4,6 +4,8 @@ const GoogleAdSense = ({ pId }: { pId?: string }) => {
4
}
5
6
return (
7
+ // TODO: we changed from Next's Script component to a regular script tag to fix the following error:
8
+ // "AdSense head tag doesn't support `data-nscript` attribute". Check if this can be reverted later.
9
<script
10
async
11
src={`https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=${pId}`}
0 commit comments