diff --git a/src/constants.ts b/src/constants.ts index e22a57e7..413b4e33 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -210,7 +210,7 @@ export const VALIDATORS_DATA = [ }, ] // Manage Validator -export const CARD_TITLES = ['Exit', 'Migrate', 'Advanced'] +export const VALIDATOR_SETTINGS_CARDS_TITLES = ['Exit', 'Migrate', 'Advanced'] export const MANAGE_VALIDATOR_TABS = [ 'Overview', diff --git a/src/pages/ManageValidator/LeftManage/ValidatorSettingsCards/ValidatorSettingCard.tsx b/src/pages/ManageValidator/LeftManage/ValidatorSettingsCards/ValidatorSettingCard.tsx index da5aa55c..f50dc0b8 100644 --- a/src/pages/ManageValidator/LeftManage/ValidatorSettingsCards/ValidatorSettingCard.tsx +++ b/src/pages/ManageValidator/LeftManage/ValidatorSettingsCards/ValidatorSettingCard.tsx @@ -3,9 +3,9 @@ import { DisconnectIcon, AdvancedIcon, ExternalIcon } from '@status-im/icons' import { useNavigate } from 'react-router-dom' import { Stack, YStack } from 'tamagui' -import { CARD_TITLES } from '../../../../constants' +import { VALIDATOR_SETTINGS_CARDS_TITLES } from '../../../../constants' -type CardTitle = (typeof CARD_TITLES)[number] +type CardTitle = (typeof VALIDATOR_SETTINGS_CARDS_TITLES)[number] type ValidatorSettingCardProps = { title: CardTitle diff --git a/src/pages/ManageValidator/LeftManage/ValidatorSettingsCards/ValidatorSettingsCards.tsx b/src/pages/ManageValidator/LeftManage/ValidatorSettingsCards/ValidatorSettingsCards.tsx index 0fc12da6..0c30cfc8 100644 --- a/src/pages/ManageValidator/LeftManage/ValidatorSettingsCards/ValidatorSettingsCards.tsx +++ b/src/pages/ManageValidator/LeftManage/ValidatorSettingsCards/ValidatorSettingsCards.tsx @@ -1,7 +1,7 @@ import { Stack } from 'tamagui' import ValidatorSettingCard from './ValidatorSettingCard' -import { CARD_TITLES } from '../../../../constants' +import { VALIDATOR_SETTINGS_CARDS_TITLES } from '../../../../constants' const ValidatorSettingsCards = () => { return ( @@ -17,7 +17,7 @@ const ValidatorSettingsCards = () => { paddingBottom: '20px', }} > - {CARD_TITLES.map(title => ( + {VALIDATOR_SETTINGS_CARDS_TITLES.map(title => ( ))}