File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
packages/next/src/next-devtools/dev-overlay/components/devtools-panel Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import type { OverlayState } from '../../shared'
4
4
import { DevToolsPanel } from './devtools-panel'
5
5
import { INITIAL_OVERLAY_STATE } from '../../shared'
6
6
import { withShadowPortal } from '../../storybook/with-shadow-portal'
7
+ import { runtimeErrors } from '../../storybook/errors'
7
8
8
9
const meta : Meta < typeof DevToolsPanel > = {
9
10
component : DevToolsPanel ,
@@ -34,6 +35,8 @@ export const Default: Story = {
34
35
state,
35
36
dispatch : ( ) => { } ,
36
37
issueCount : 0 ,
38
+ runtimeErrors : [ ] ,
39
+ getSquashedHydrationErrorDetails : ( ) => null ,
37
40
} ,
38
41
}
39
42
@@ -42,6 +45,8 @@ export const WithIssues: Story = {
42
45
state,
43
46
dispatch : ( ) => { } ,
44
47
issueCount : 3 ,
48
+ runtimeErrors,
49
+ getSquashedHydrationErrorDetails : ( ) => null ,
45
50
} ,
46
51
}
47
52
@@ -58,6 +63,8 @@ export const Turbopack: Story = {
58
63
state,
59
64
dispatch : ( ) => { } ,
60
65
issueCount : 0 ,
66
+ runtimeErrors : [ ] ,
67
+ getSquashedHydrationErrorDetails : ( ) => null ,
61
68
} ,
62
69
}
63
70
@@ -74,5 +81,7 @@ export const Rspack: Story = {
74
81
state,
75
82
dispatch : ( ) => { } ,
76
83
issueCount : 0 ,
84
+ runtimeErrors : [ ] ,
85
+ getSquashedHydrationErrorDetails : ( ) => null ,
77
86
} ,
78
87
}
You can’t perform that action at this time.
0 commit comments