1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-06-09 01:28:46 +00:00

sort coins by order

This commit is contained in:
slowbackspace 2019-03-06 14:37:31 +01:00
parent a313f4a8ed
commit cb89d0bbcf

View File

@ -37,7 +37,9 @@ class CoinMenu extends PureComponent<Props> {
} }
getOtherCoins() { getOtherCoins() {
return coins.map(coin => { return coins
.sort((a, b) => a.order - b.order)
.map(coin => {
const row = ( const row = (
<RowCoin <RowCoin
network={{ network={{