Commit 1e75f272 authored by tom's avatar tom

fix skeletons for internal txs mobile list

parent 98749730
...@@ -33,14 +33,16 @@ const TxInternalsListItem = ({ type, from, to, value, success, error, gas_limit: ...@@ -33,14 +33,16 @@ const TxInternalsListItem = ({ type, from, to, value, success, error, gas_limit:
fontWeight="500" fontWeight="500"
/> />
<HStack gap={ 3 }> <HStack gap={ 3 }>
<Skeleton loading={ isLoading } fontSize="sm" fontWeight={ 500 }>Value { currencyUnits.ether }</Skeleton> <Skeleton loading={ isLoading } fontSize="sm" fontWeight={ 500 }><span>Value { currencyUnits.ether }</span></Skeleton>
<Skeleton loading={ isLoading } fontSize="sm" color="text.secondary"> <Skeleton loading={ isLoading } fontSize="sm" color="text.secondary">
{ BigNumber(value).div(BigNumber(10 ** config.chain.currency.decimals)).toFormat() } <span>
{ BigNumber(value).div(BigNumber(10 ** config.chain.currency.decimals)).toFormat() }
</span>
</Skeleton> </Skeleton>
</HStack> </HStack>
<HStack gap={ 3 }> <HStack gap={ 3 }>
<Skeleton loading={ isLoading } fontSize="sm" fontWeight={ 500 }>Gas limit</Skeleton> <Skeleton loading={ isLoading } fontSize="sm" fontWeight={ 500 }><span>Gas limit</span></Skeleton>
<Skeleton loading={ isLoading } fontSize="sm" color="text.secondary">{ BigNumber(gasLimit).toFormat() }</Skeleton> <Skeleton loading={ isLoading } fontSize="sm" color="text.secondary"><span>{ BigNumber(gasLimit).toFormat() }</span></Skeleton>
</HStack> </HStack>
</ListItemMobile> </ListItemMobile>
); );
......
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