mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
UX Multichain: Fixed NaN USD issue under Eth when using Fiat (#18981)
* updated fiat value * updated primary value in storybook
This commit is contained in:
parent
a3cf0036ad
commit
d9f67e403d
@ -56,7 +56,6 @@ exports[`MultichainTokenListItem should render correctly 1`] = `
|
|||||||
<p
|
<p
|
||||||
class="box mm-text mm-text--body-md box--flex-direction-row box--color-text-alternative"
|
class="box mm-text mm-text--body-md box--flex-direction-row box--color-text-alternative"
|
||||||
>
|
>
|
||||||
NaN
|
|
||||||
|
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
|
@ -139,7 +139,7 @@ export const MultichainTokenListItem = ({
|
|||||||
</Text>
|
</Text>
|
||||||
</Box>
|
</Box>
|
||||||
<Text color={TextColor.textAlternative}>
|
<Text color={TextColor.textAlternative}>
|
||||||
{Number(primary).toFixed(3)} {tokenSymbol}{' '}
|
{primary} {tokenSymbol}{' '}
|
||||||
</Text>
|
</Text>
|
||||||
</Box>
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
|
@ -29,7 +29,7 @@ export default {
|
|||||||
},
|
},
|
||||||
args: {
|
args: {
|
||||||
secondary: '$9.80 USD',
|
secondary: '$9.80 USD',
|
||||||
primary: '88.00687889',
|
primary: '88.0068',
|
||||||
tokenImage: './images/eth_logo.png',
|
tokenImage: './images/eth_logo.png',
|
||||||
tokenSymbol: 'ETH',
|
tokenSymbol: 'ETH',
|
||||||
title: 'Ethereum',
|
title: 'Ethereum',
|
||||||
|
Loading…
Reference in New Issue
Block a user