1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +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:
Nidhi Kumari 2023-05-03 22:21:12 +05:30 committed by GitHub
parent a3cf0036ad
commit d9f67e403d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View File

@ -56,7 +56,6 @@ exports[`MultichainTokenListItem should render correctly 1`] = `
<p
class="box mm-text mm-text--body-md box--flex-direction-row box--color-text-alternative"
>
NaN
</p>

View File

@ -139,7 +139,7 @@ export const MultichainTokenListItem = ({
</Text>
</Box>
<Text color={TextColor.textAlternative}>
{Number(primary).toFixed(3)} {tokenSymbol}{' '}
{primary} {tokenSymbol}{' '}
</Text>
</Box>
</Box>

View File

@ -29,7 +29,7 @@ export default {
},
args: {
secondary: '$9.80 USD',
primary: '88.00687889',
primary: '88.0068',
tokenImage: './images/eth_logo.png',
tokenSymbol: 'ETH',
title: 'Ethereum',