mirror of
https://github.com/Lissy93/dashy.git
synced 2025-12-15 13:03:28 +01:00
🐛 Updates the endpoint for currency flags (#1096)
This commit is contained in:
parent
794fa57956
commit
6651333253
1 changed files with 2 additions and 2 deletions
|
|
@ -64,8 +64,8 @@ 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/transferwise/currency-flags';
|
||||
return `${cdn}/master/src/flags/${currency.toLowerCase()}.png`;
|
||||
const cdn = 'https://raw.githubusercontent.com/Lissy93/currency-flags';
|
||||
return `${cdn}/master/flags_png_rectangle/${currency.toLowerCase()}.png`;
|
||||
};
|
||||
|
||||
/* Given a Latitude & Longitude object, and optional zoom level, return link to OSM */
|
||||
|
|
|
|||
Loading…
Reference in a new issue