fix: only load error overlay in development (#2460)
This commit is contained in:
@@ -488,7 +488,7 @@ function FreshRuntimeScript() {
|
||||
__html: scriptContent,
|
||||
}}
|
||||
/>
|
||||
<ShowErrorOverlay />
|
||||
{ctx.config.mode === "development" ? <ShowErrorOverlay /> : null}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user