Skip to content

Commit

Permalink
fix(on-ramp): fix missing network name
Browse files Browse the repository at this point in the history
  • Loading branch information
wachunei committed May 4, 2023
1 parent a65c126 commit 4e9916a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/components/UI/FiatOnRampAggregator/Views/AmountToBuy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,9 @@ const AmountToBuy = () => {
description={strings(
'fiat_on_ramp_aggregator.no_tokens_available',
{
network: NETWORKS_NAMES[selectedChainId],
network:
NETWORKS_NAMES[selectedChainId] ||
strings('fiat_on_ramp_aggregator.this_network'),
region: selectedRegion?.name,
},
)}
Expand Down
1 change: 1 addition & 0 deletions locales/languages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1841,6 +1841,7 @@
"webview_received_error": "WebView received error status code: {{code}}",
"no_tokens_available_title": "No Tokens Available",
"no_tokens_available": "There are currently no tokens available to purchase on {{network}} with the selected payment method.",
"this_network": "this network",
"change_payment_method": "Change payment method",
"try_different_region": "Try a different region",
"return_home": "Return to Home Screen",
Expand Down

0 comments on commit 4e9916a

Please sign in to comment.