Skip to content

Commit

Permalink
added fallbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
lendihop committed Sep 29, 2023
1 parent 21b79f2 commit acca9ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/hooks/AliceBob/use-output-currencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const useOutputCurrencies = (
return {
name: knownAliceBobFiatCurrenciesNames[code] ?? '',
code,
icon: '',
icon: `https://static.moonpay.com/widget/currencies/${code.toLowerCase()}.svg`,
minAmount,
maxAmount
};
Expand Down
2 changes: 1 addition & 1 deletion src/app/store/buy-with-credit-card/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export const mapAliceBobProviderCurrencies = (response: AxiosResponse<{ pairsInf
}

return {
name: knownAliceBobFiatCurrenciesNames[code],
name: knownAliceBobFiatCurrenciesNames[code] ?? '',
code,
icon: `https://static.moonpay.com/widget/currencies/${code.toLowerCase()}.svg`,
precision: 2,
Expand Down

0 comments on commit acca9ae

Please sign in to comment.