Skip to content

Incorrectly formatted balance on User Info screen #3

@NealHelman

Description

@NealHelman

Image
Note the comma placement in the red-highlighted balance amount.

In the \nexus-explorer-next\src\components\UserAccount\AccountInfo\AccountInfo.jsx, there is a mismatch in culture designations that is causing the issue:

function fiatValue(value) {
return ${new Intl.NumberFormat('en-IN', { style: 'currency', currency: 'USD', }).format(value)} USD;
}

en-IN should be en-US, since the latter is used throughout the rest of the jsx.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions