From 9daa0ec2b677a7d89bd5ff45096f6f3f3465f1a4 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Tue, 14 Nov 2023 00:35:20 +0200 Subject: [PATCH] fix: change validator tabs structure --- .../ValidatorManagement/ManagementTabs.tsx | 20 +++++++------------ 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/src/pages/ValidatorManagement/ManagementTabs.tsx b/src/pages/ValidatorManagement/ManagementTabs.tsx index d5341d1f..a5b0b06a 100644 --- a/src/pages/ValidatorManagement/ManagementTabs.tsx +++ b/src/pages/ValidatorManagement/ManagementTabs.tsx @@ -8,28 +8,22 @@ const ManagementTabs = () => { 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 = () => { {VALIDATOR_TABS.map(tab => ( - {tab.label} + {tab.value} ))}