Skip to content

Commit 058ff27

Browse files
committed
open by default
1 parent 65c8e64 commit 058ff27

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/next/src/next-devtools/dev-overlay/dev-overlay.stories.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ function useOverlayReducer() {
118118
return state
119119
}
120120
}
121-
return state
122121
},
123122
initialState
124123
)
@@ -142,7 +141,7 @@ export const Default: Story = {
142141
}}
143142
/>
144143
<DevOverlay
145-
state={state}
144+
state={{ ...state, isErrorOverlayOpen: true }}
146145
dispatch={dispatch}
147146
getSquashedHydrationErrorDetails={
148147
// Testing like App Router where we no longer quash hydration errors
@@ -176,7 +175,7 @@ export const WithPanel: Story = {
176175
}}
177176
/>
178177
<DevOverlay
179-
state={state}
178+
state={{ ...state, isDevToolsPanelOpen: true }}
180179
dispatch={dispatch}
181180
getSquashedHydrationErrorDetails={
182181
// Testing like App Router where we no longer quash hydration errors

0 commit comments

Comments
 (0)