Skip to content

Commit 28ee532

Browse files
authored
Update README.md
Fix warning about preventing synchronous scripts in Next.js
1 parent 8217ea4 commit 28ee532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export default function RootLayout({
7474
return (
7575
<html lang="en">
7676
<head>
77-
<script src="https://unpkg.com/react-scan/dist/auto.global.js"></script>
77+
<script src="https://unpkg.com/react-scan/dist/auto.global.js" async />
7878
{/* rest of your scripts go under */}
7979
</head>
8080
<body>{children}</body>

0 commit comments

Comments
 (0)