We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca8b527 commit b1c7887Copy full SHA for b1c7887
images/p5/layout.js
@@ -33,14 +33,13 @@ export default function RootLayout({ children }) {
33
src="https://cdn.jsdelivr.net/npm/p5.collide2d"
34
strategy="beforeInteractive"
35
/>
36
+ <Script src="/sketch.js" strategy="beforeInteractive" />
37
</head>
38
<body
39
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
40
>
41
{children}
42
</body>
-
43
- <Script src="/sketch.js" strategy="afterInteractive" />
44
</html>
45
);
46
}
0 commit comments