Skip to content

Commit ed910cc

Browse files
committed
fix: change analytics script loading from async to defer
1 parent e3d3000 commit ed910cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default function Layout({ children }: { children: ReactNode }) {
2727
data-site-id={process.env.NEXT_PUBLIC_ANALYTICS_SITE_ID}
2828
data-web-vitals="true"
2929
data-track-errors="true"
30-
async
30+
defer
3131
/>
3232
<RootProvider>{children}</RootProvider>
3333
</body>

0 commit comments

Comments
 (0)