diff --git a/packages/next/src/client/components/react-dev-overlay/_experimental/internal/components/Errors/ErrorOverlayLayout/ErrorOverlayLayout.tsx b/packages/next/src/client/components/react-dev-overlay/_experimental/internal/components/Errors/ErrorOverlayLayout/ErrorOverlayLayout.tsx index 73a3614f410daa..f3496964fba1ba 100644 --- a/packages/next/src/client/components/react-dev-overlay/_experimental/internal/components/Errors/ErrorOverlayLayout/ErrorOverlayLayout.tsx +++ b/packages/next/src/client/components/react-dev-overlay/_experimental/internal/components/Errors/ErrorOverlayLayout/ErrorOverlayLayout.tsx @@ -29,8 +29,6 @@ type ErrorOverlayLayoutProps = { debugInfo?: DebugInfo isBuildError?: boolean onClose?: () => void - // TODO: remove this - temporaryHeaderChildren?: React.ReactNode versionInfo?: VersionInfo // TODO: better handle receiving readyErrors?: ReadyRuntimeError[] @@ -47,7 +45,6 @@ export function ErrorOverlayLayout({ debugInfo, isBuildError, onClose, - temporaryHeaderChildren, versionInfo, readyErrors, activeIdx, @@ -90,7 +87,6 @@ export function ErrorOverlayLayout({ > {errorMessage}
- {temporaryHeaderChildren}- {notes} -
- > - ) : null} - {hydrationWarning ? ( -
-
+ {notes} +
> - } - > + ) : null} + {hydrationWarning ? ( +
+