Skip to content

Commit

Permalink
Merge pull request #3120 from odota/master
Browse files Browse the repository at this point in the history
[HOTFIX] Fix loop issue with ads
  • Loading branch information
howardchung committed Nov 11, 2023
2 parents a29155b + 056dae8 commit 3306233
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/components/App/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,6 @@ const App = (props) => {
window.scrollTo(0, 0);
}, [location]);

React.useEffect(() => {
(window.adsbygoogle = window.adsbygoogle || []).push({});
(window.adsbygoogle = window.adsbygoogle || []).push({});
}, [])

const includeAds = !['/', '/api-keys'].includes(location.pathname);

return (
Expand Down

0 comments on commit 3306233

Please sign in to comment.