Skip to content

Commit b1c7887

Browse files
committed
tweaks
1 parent ca8b527 commit b1c7887

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

images/p5/layout.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,13 @@ export default function RootLayout({ children }) {
3333
src="https://cdn.jsdelivr.net/npm/p5.collide2d"
3434
strategy="beforeInteractive"
3535
/>
36+
<Script src="/sketch.js" strategy="beforeInteractive" />
3637
</head>
3738
<body
3839
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
3940
>
4041
{children}
4142
</body>
42-
43-
<Script src="/sketch.js" strategy="afterInteractive" />
4443
</html>
4544
);
4645
}

0 commit comments

Comments
 (0)