Skip to content

Commit 51de594

Browse files
committed
sync story for issue tab
1 parent 1aa0bce commit 51de594

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import type { OverlayState } from '../../shared'
44
import { DevToolsPanel } from './devtools-panel'
55
import { INITIAL_OVERLAY_STATE } from '../../shared'
66
import { withShadowPortal } from '../../storybook/with-shadow-portal'
7+
import { runtimeErrors } from '../../storybook/errors'
78

89
const meta: Meta<typeof DevToolsPanel> = {
910
component: DevToolsPanel,
@@ -34,6 +35,8 @@ export const Default: Story = {
3435
state,
3536
dispatch: () => {},
3637
issueCount: 0,
38+
runtimeErrors: [],
39+
getSquashedHydrationErrorDetails: () => null,
3740
},
3841
}
3942

@@ -42,6 +45,8 @@ export const WithIssues: Story = {
4245
state,
4346
dispatch: () => {},
4447
issueCount: 3,
48+
runtimeErrors,
49+
getSquashedHydrationErrorDetails: () => null,
4550
},
4651
}
4752

@@ -58,6 +63,8 @@ export const Turbopack: Story = {
5863
state,
5964
dispatch: () => {},
6065
issueCount: 0,
66+
runtimeErrors: [],
67+
getSquashedHydrationErrorDetails: () => null,
6168
},
6269
}
6370

@@ -74,5 +81,7 @@ export const Rspack: Story = {
7481
state,
7582
dispatch: () => {},
7683
issueCount: 0,
84+
runtimeErrors: [],
85+
getSquashedHydrationErrorDetails: () => null,
7786
},
7887
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy