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 5fc9869 commit 289929bCopy full SHA for 289929b
src/components/common/AdFeed.tsx
@@ -5,7 +5,7 @@ import { mediaQuery } from '../../lib/styles/media';
5
function AdFeed() {
6
const [adBlocked, setAdBlocked] = useState(false);
7
useEffect(() => {
8
- if ((window as any)?.adsbygoogle?.push) {
+ if (((window as any)?.adsbygoogle || [])?.push) {
9
(window as any).adsbygoogle = ((window as any).adsbygoogle || []).push(
10
{},
11
);
0 commit comments