Merge pull request #207 from ekzyis/103-add-ZAR

Add ZAR currency
This commit is contained in:
Keyan 2022-10-25 16:44:28 -05:00 committed by GitHub
commit b085058795
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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`