fix: change validator tabs structure

This commit is contained in:
RadoslavDimchev 2023-11-14 00:35:20 +02:00
parent 69df48222e
commit 9daa0ec2b6
1 changed files with 7 additions and 13 deletions

View File

@ -8,28 +8,22 @@ const ManagementTabs = () => {
const VALIDATOR_TABS = useMemo( const VALIDATOR_TABS = useMemo(
() => [ () => [
{ {
label: 'Active', value: 'Active',
value: 'active',
}, },
{ {
label: 'Pending', value: 'Pending',
value: 'pending',
}, },
{ {
label: 'Inactive', value: 'Inactive',
value: 'inactive',
}, },
{ {
label: 'Exited', value: 'Exited',
value: 'exited',
}, },
{ {
label: 'Withdraw', value: 'Withdraw',
value: 'withdraw',
}, },
{ {
label: 'All', value: 'All',
value: 'all',
}, },
], ],
[], [],
@ -41,7 +35,7 @@ const ManagementTabs = () => {
<Tabs.List size={32}> <Tabs.List size={32}>
{VALIDATOR_TABS.map(tab => ( {VALIDATOR_TABS.map(tab => (
<Tabs.Trigger key={tab.value} type="default" value={tab.value}> <Tabs.Trigger key={tab.value} type="default" value={tab.value}>
{tab.label} {tab.value}
</Tabs.Trigger> </Tabs.Trigger>
))} ))}
</Tabs.List> </Tabs.List>