Add ZAR currency
This commit is contained in:
parent
6225b9e7aa
commit
51db3b0142
|
@ -16,7 +16,8 @@ export const CURRENCY_SYMBOLS = {
|
||||||
EUR: '€',
|
EUR: '€',
|
||||||
GBP: '£',
|
GBP: '£',
|
||||||
USD: '$',
|
USD: '$',
|
||||||
NZD: '$'
|
NZD: '$',
|
||||||
|
ZAR: 'R '
|
||||||
}
|
}
|
||||||
|
|
||||||
const endpoint = (fiat) => `https://api.coinbase.com/v2/prices/BTC-${fiat ?? 'USD'}/spot`
|
const endpoint = (fiat) => `https://api.coinbase.com/v2/prices/BTC-${fiat ?? 'USD'}/spot`
|
||||||
|
|
Loading…
Reference in New Issue