Commit e3a35c6e authored by isstuev's avatar isstuev

fix last block layout + tx additional info fix

parent 4d20dec2
...@@ -32,7 +32,7 @@ export const base: Block = { ...@@ -32,7 +32,7 @@ export const base: Block = {
type: 'POA Mania Reward', type: 'POA Mania Reward',
}, },
{ {
reward: '1026853607500000000', reward: '1026853607510000000',
type: 'Validator Reward', type: 'Validator Reward',
}, },
{ {
......
...@@ -64,7 +64,7 @@ const LatestBlocksItem = ({ block, h, isLoading }: Props) => { ...@@ -64,7 +64,7 @@ const LatestBlocksItem = ({ block, h, isLoading }: Props) => {
{ !config.features.rollup.isEnabled && !config.UI.views.block.hiddenFields?.nonce && ( { !config.features.rollup.isEnabled && !config.UI.views.block.hiddenFields?.nonce && (
<> <>
<Skeleton isLoaded={ !isLoading }>Reward</Skeleton> <Skeleton isLoaded={ !isLoading }>Reward</Skeleton>
<Skeleton isLoaded={ !isLoading } color="text_secondary"><span>{ totalReward.toFixed() }</span></Skeleton> <Skeleton isLoaded={ !isLoading } color="text_secondary"><span>{ totalReward.dp(10).toFixed() }</span></Skeleton>
<Skeleton isLoaded={ !isLoading } textTransform="capitalize">{ getNetworkValidatorTitle() }</Skeleton> <Skeleton isLoaded={ !isLoading } textTransform="capitalize">{ getNetworkValidatorTitle() }</Skeleton>
<AddressEntity <AddressEntity
address={ block.miner } address={ block.miner }
......
...@@ -38,6 +38,8 @@ const TxAdditionalInfoContent = ({ tx }: { tx: Transaction }) => { ...@@ -38,6 +38,8 @@ const TxAdditionalInfoContent = ({ tx }: { tx: Transaction }) => {
currency={ config.chain.currency.symbol } currency={ config.chain.currency.symbol }
exchangeRate={ tx.exchange_rate } exchangeRate={ tx.exchange_rate }
accuracyUsd={ 2 } accuracyUsd={ 2 }
flexWrap="wrap"
rowGap={ 0 }
/> />
</Flex> </Flex>
</Box> </Box>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment