feat: calculate total eth at validators

This commit is contained in:
RadoslavDimchev 2023-09-26 19:58:18 +03:00
parent b532d6e3a3
commit fb6768f9e0
1 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ import { AddIcon, ChevronDownIcon } from '@status-im/icons'
import { Stack, XStack, YStack } from 'tamagui'
import DepositSubtitle from './DepositSubtitle'
import { ETH_PER_VALIDATOR } from '../../../constants'
type ValidatorsProps = {
validatorCount: number
@ -31,7 +32,7 @@ const Validators = ({
ETH
</Text>
<Text size={27} weight={'semibold'}>
64
{validatorCount * ETH_PER_VALIDATOR}
</Text>
</YStack>
<YStack space={'$2'}>