fix(validator-request): add with router decorator
This commit is contained in:
parent
d71ee51164
commit
0b8148efcb
|
@ -1,6 +1,7 @@
|
||||||
import type { Meta, StoryObj } from '@storybook/react'
|
import type { Meta, StoryObj } from '@storybook/react'
|
||||||
|
|
||||||
import ValidatorRequest from './ValidatorRequest'
|
import ValidatorRequest from './ValidatorRequest'
|
||||||
|
import { withRouter } from 'storybook-addon-react-router-v6'
|
||||||
|
|
||||||
const meta = {
|
const meta = {
|
||||||
title: 'ValidatorOnboarding/ValidatorRequest',
|
title: 'ValidatorOnboarding/ValidatorRequest',
|
||||||
|
@ -8,6 +9,7 @@ const meta = {
|
||||||
parameters: {
|
parameters: {
|
||||||
layout: 'centered',
|
layout: 'centered',
|
||||||
},
|
},
|
||||||
|
decorators: [withRouter()],
|
||||||
tags: ['autodocs'],
|
tags: ['autodocs'],
|
||||||
} satisfies Meta<typeof ValidatorRequest>
|
} satisfies Meta<typeof ValidatorRequest>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue