You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[DevOverlay] Remove temporary header children (vercel#74490)
### Why?
The header children were temporary because they will affect the test utils in the future, we need to change these query selectors from `data-nextjs-dialog-header` to `data-nextjs-dialog-body`:
https://github.com/vercel/next.js/blob/bca0bc921bd81f25e6d8f83d676774724a007bfa/test/lib/next-test-utils.ts#L983-L986
This is not a severe blocker, and we may follow up on this during the QA period when we enable CI tests for the new UI.
We may even have to unify the target attributes for testing before the change.
Copy file name to clipboardExpand all lines: packages/next/src/client/components/react-dev-overlay/_experimental/internal/components/Errors/ErrorOverlayLayout/ErrorOverlayLayout.tsx
-4Lines changed: 0 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -29,8 +29,6 @@ type ErrorOverlayLayoutProps = {
29
29
debugInfo?: DebugInfo
30
30
isBuildError?: boolean
31
31
onClose?: ()=>void
32
-
// TODO: remove this
33
-
temporaryHeaderChildren?: React.ReactNode
34
32
versionInfo?: VersionInfo
35
33
// TODO: better handle receiving
36
34
readyErrors?: ReadyRuntimeError[]
@@ -47,7 +45,6 @@ export function ErrorOverlayLayout({
47
45
debugInfo,
48
46
isBuildError,
49
47
onClose,
50
-
temporaryHeaderChildren,
51
48
versionInfo,
52
49
readyErrors,
53
50
activeIdx,
@@ -90,7 +87,6 @@ export function ErrorOverlayLayout({
0 commit comments