Skip to content

Commit a7210d4

Browse files
Update GoogleScripts.tsx
1 parent bb232d2 commit a7210d4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

app/components/GoogleScripts.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@ function Gad({
7575
window.googletag.display(adId)
7676

7777
// Set individual refresh intervals for each ad
78-
const interval = setInterval(function () {
79-
window.googletag.cmd.push(function () {
80-
window.googletag.pubads().refresh([slot])
81-
})
82-
}, slot.refreshInterval)
78+
// const interval = setInterval(function () {
79+
// window.googletag.cmd.push(function () {
80+
// window.googletag.pubads().refresh([slot])
81+
// })
82+
//}, slot.refreshInterval)
8383

84-
return () => clearInterval(interval)
84+
//return () => clearInterval(interval)
8585
})
8686
}
8787
}, [])

0 commit comments

Comments
 (0)