Skip to content

Commit d56a9b0

Browse files
authored
Apparently next scripts can't be async
Reverting to traditional script tag
1 parent d824ac8 commit d56a9b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mystbin/frontend/pages/_app.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Script from "next/script";
55

66
function MyApp({ Component, pageProps }) {
77
return(<>
8-
<Script async={"async"} src={"https://media.ethicalads.io/media/client/ethicalads.min.js"} strategy={"beforeInteractive"}/>
8+
<script async src={"https://media.ethicalads.io/media/client/ethicalads.min.js"}/>
99
<Component {...pageProps} />;
1010
</>)
1111
}

0 commit comments

Comments
 (0)