result_list array as list of countries
This commit was merged in pull request #531.
This commit is contained in:
@@ -35,8 +35,8 @@ export default function WalletItemCard({ walletItem, payment, countries }) {
|
||||
};
|
||||
|
||||
const currentWalletCurrency = countries
|
||||
.map((country) => country)
|
||||
.filter((country) => country[0] === walletItem.country);
|
||||
// .map((country) => country)
|
||||
.filter((country) => country.code === walletItem.country);
|
||||
|
||||
const image = walletItem.code
|
||||
? `${walletItem.code.toLowerCase()}.svg`
|
||||
|
||||
Reference in New Issue
Block a user