Skip to content

Commit 0d439cf

Browse files
committed
fix(layout): use plain inline script for PublicEnvScript to set env before chunks eval on error pages
1 parent 699bbfd commit 0d439cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/sim/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
239239
</>
240240
)}
241241

242-
<PublicEnvScript />
242+
<PublicEnvScript disableNextScript />
243243
</head>
244244
<body className={`${season.variable} font-season`} suppressHydrationWarning>
245245
{/* Google Tag Manager (noscript) — hosted only */}

0 commit comments

Comments
 (0)