Skip to content

Commit 53fe753

Browse files
committed
chore(ads): add comment on reverting script tag change
1 parent 34d34f6 commit 53fe753

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

apps/frontend/src/modules/shared/components/GoogleAdSense.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ const GoogleAdSense = ({ pId }: { pId?: string }) => {
44
}
55

66
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.
79
<script
810
async
911
src={`https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=${pId}`}

0 commit comments

Comments
 (0)