Skip to content

Commit 2d7d81b

Browse files
committed
needs initialState too
1 parent 94e62df commit 2d7d81b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export const WithPanel: Story = {
7878
}
7979
},
8080
render: function DevOverlayStory() {
81-
const [state, dispatch] = useStorybookOverlayReducer()
81+
const [state, dispatch] = useStorybookOverlayReducer(initialState)
8282
return (
8383
<>
8484
<img

0 commit comments

Comments
 (0)