fix: replace default value for table story args
This commit is contained in:
parent
a246d109e2
commit
4f29df009a
|
@ -1,6 +1,7 @@
|
||||||
import type { Meta, StoryObj } from '@storybook/react'
|
import type { Meta, StoryObj } from '@storybook/react'
|
||||||
|
|
||||||
import ManagementTable from './ManagementTable'
|
import ManagementTable from './ManagementTable'
|
||||||
|
import { VALIDATOR_TABS } from '../../../constants'
|
||||||
|
|
||||||
const meta = {
|
const meta = {
|
||||||
title: 'ValidatorManagement/ManagementTable',
|
title: 'ValidatorManagement/ManagementTable',
|
||||||
|
@ -16,6 +17,6 @@ type Story = StoryObj<typeof meta>
|
||||||
|
|
||||||
export const Default: Story = {
|
export const Default: Story = {
|
||||||
args: {
|
args: {
|
||||||
tab: 'Active'
|
tab: VALIDATOR_TABS[0],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue