fix: add decorator to story
This commit is contained in:
parent
5c6622c10a
commit
7dd5d4c1c3
|
@ -1,6 +1,7 @@
|
||||||
import type { Meta, StoryObj } from '@storybook/react'
|
import type { Meta, StoryObj } from '@storybook/react'
|
||||||
|
|
||||||
import ValidatorSetup from './ValidatorSetup'
|
import ValidatorSetup from './ValidatorSetup'
|
||||||
|
import { withRouter } from 'storybook-addon-react-router-v6'
|
||||||
|
|
||||||
const meta = {
|
const meta = {
|
||||||
title: 'ValidatorOnboarding/ValidatorSetup',
|
title: 'ValidatorOnboarding/ValidatorSetup',
|
||||||
|
@ -10,6 +11,7 @@ const meta = {
|
||||||
},
|
},
|
||||||
tags: ['autodocs'],
|
tags: ['autodocs'],
|
||||||
argTypes: {},
|
argTypes: {},
|
||||||
|
decorators: [withRouter()],
|
||||||
} satisfies Meta<typeof ValidatorSetup>
|
} satisfies Meta<typeof ValidatorSetup>
|
||||||
|
|
||||||
export default meta
|
export default meta
|
||||||
|
|
Loading…
Reference in New Issue