From 665133325345d8c2bfde05edb9c23f2e941c7cc6 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sun, 26 Feb 2023 22:41:49 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Updates=20the=20endpoint=20for?= =?UTF-8?q?=20currency=20flags=20(#1096)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/MiscHelpers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/MiscHelpers.js b/src/utils/MiscHelpers.js index 11e834bc..1225ee06 100644 --- a/src/utils/MiscHelpers.js +++ b/src/utils/MiscHelpers.js @@ -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 */