File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
packages/next/src/next-devtools/dev-overlay Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,6 @@ function useOverlayReducer() {
118
118
return state
119
119
}
120
120
}
121
- return state
122
121
} ,
123
122
initialState
124
123
)
@@ -142,7 +141,7 @@ export const Default: Story = {
142
141
} }
143
142
/>
144
143
< DevOverlay
145
- state = { state }
144
+ state = { { ... state , isErrorOverlayOpen : true } }
146
145
dispatch = { dispatch }
147
146
getSquashedHydrationErrorDetails = {
148
147
// Testing like App Router where we no longer quash hydration errors
@@ -176,7 +175,7 @@ export const WithPanel: Story = {
176
175
} }
177
176
/>
178
177
< DevOverlay
179
- state = { state }
178
+ state = { { ... state , isDevToolsPanelOpen : true } }
180
179
dispatch = { dispatch }
181
180
getSquashedHydrationErrorDetails = {
182
181
// Testing like App Router where we no longer quash hydration errors
You can’t perform that action at this time.
0 commit comments