Add ZAR currency

This commit is contained in:
ekzyis 2022-10-21 16:28:49 +02:00
parent 6225b9e7aa
commit 51db3b0142
1 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,8 @@ export const CURRENCY_SYMBOLS = {
EUR: '€',
GBP: '£',
USD: '$',
NZD: '$'
NZD: '$',
ZAR: 'R '
}
const endpoint = (fiat) => `https://api.coinbase.com/v2/prices/BTC-${fiat ?? 'USD'}/spot`