fix: replace default value for table story args

This commit is contained in:
RadoslavDimchev 2023-11-14 00:59:59 +02:00
parent a246d109e2
commit 4f29df009a
1 changed files with 2 additions and 1 deletions

View File

@ -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],
}, },
} }