From 4f29df009ae489c6bf856f2674d13b3e03c07114 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Tue, 14 Nov 2023 00:59:59 +0200 Subject: [PATCH] fix: replace default value for table story args --- .../ManagementTable/ManagementTable.stories.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/ValidatorManagement/ManagementTable/ManagementTable.stories.ts b/src/pages/ValidatorManagement/ManagementTable/ManagementTable.stories.ts index 84badf40..d19ed5ea 100644 --- a/src/pages/ValidatorManagement/ManagementTable/ManagementTable.stories.ts +++ b/src/pages/ValidatorManagement/ManagementTable/ManagementTable.stories.ts @@ -1,6 +1,7 @@ import type { Meta, StoryObj } from '@storybook/react' import ManagementTable from './ManagementTable' +import { VALIDATOR_TABS } from '../../../constants' const meta = { title: 'ValidatorManagement/ManagementTable', @@ -16,6 +17,6 @@ type Story = StoryObj export const Default: Story = { args: { - tab: 'Active' + tab: VALIDATOR_TABS[0], }, }