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