fix(management-table-story): add router decorator
This commit is contained in:
parent
7c1d08bc71
commit
8d0bc1af34
|
@ -1,4 +1,5 @@
|
|||
import type { Meta, StoryObj } from '@storybook/react'
|
||||
import { withRouter } from 'storybook-addon-react-router-v6'
|
||||
|
||||
import ManagementTable from './ManagementTable'
|
||||
import { VALIDATORS_DATA } from '../../../constants'
|
||||
|
@ -9,6 +10,7 @@ const meta = {
|
|||
parameters: {
|
||||
layout: 'centered',
|
||||
},
|
||||
decorators: [withRouter()],
|
||||
tags: ['autodocs'],
|
||||
} satisfies Meta<typeof ManagementTable>
|
||||
|
||||
|
|
Loading…
Reference in New Issue