File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages/react-router/lib/dom/ssr Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ export function RemixRootDefaultErrorBoundary({
9797 < h1 style = { { fontSize : "24px" } } >
9898 { error . status } { error . statusText }
9999 </ h1 >
100- { ENABLE_DEV_WARNINGS && heyDeveloper }
100+ { ENABLE_DEV_WARNINGS ? heyDeveloper : null }
101101 </ BoundaryShell >
102102 ) ;
103103 }
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { ENABLE_DEV_WARNINGS } from "../../context";
1010export function RemixRootDefaultHydrateFallback ( ) {
1111 return (
1212 < BoundaryShell title = "Loading..." renderScripts >
13- { ENABLE_DEV_WARNINGS && (
13+ { ENABLE_DEV_WARNINGS ? (
1414 < script
1515 dangerouslySetInnerHTML = { {
1616 __html : `
@@ -23,7 +23,7 @@ export function RemixRootDefaultHydrateFallback() {
2323 ` ,
2424 } }
2525 />
26- ) }
26+ ) : null }
2727 </ BoundaryShell >
2828 ) ;
2929}
You can’t perform that action at this time.
0 commit comments