👽️ Updates path to currency-flag assets

Data fetched from: https://github.com/Lissy93/currency-flags
This commit is contained in:
Alicia Sykes 2023-03-19 16:02:40 +00:00 committed by GitHub
parent 27b835258c
commit 45e06d2e66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ export const getCountryFlag = (countryCode, dimens) => {
/* Given a currency code, return path to corresponding countries flag icon */
export const getCurrencyFlag = (currency) => {
const cdn = 'https://raw.githubusercontent.com/Lissy93/currency-flags';
return `${cdn}/master/flags_png_rectangle/${currency.toLowerCase()}.png`;
return `${cdn}/master/assets/flags_png_rectangle/${currency.toLowerCase()}.png`;
};
/* Given a Latitude & Longitude object, and optional zoom level, return link to OSM */