Skip to content

Commit

Permalink
Make ethical ads script async
Browse files Browse the repository at this point in the history
  • Loading branch information
EvieePy authored Aug 28, 2022
1 parent f141816 commit c5d2fd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mystbin/frontend/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Script from "next/script";

function MyApp({ Component, pageProps }) {
return(<>
<Script src={"https://media.ethicalads.io/media/client/ethicalads.min.js"} strategy={"beforeInteractive"}/>
<Script async src={"https://media.ethicalads.io/media/client/ethicalads.min.js"} strategy={"beforeInteractive"}/>
<Component {...pageProps} />;
</>)
}
Expand Down

0 comments on commit c5d2fd7

Please sign in to comment.