From 45e06d2e6645d804d8690938496b81df212a8c69 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sun, 19 Mar 2023 16:02:40 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=BD=EF=B8=8F=20Updates=20path=20to=20c?= =?UTF-8?q?urrency-flag=20assets?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Data fetched from: https://github.com/Lissy93/currency-flags --- src/utils/MiscHelpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/MiscHelpers.js b/src/utils/MiscHelpers.js index 1225ee06..200650f4 100644 --- a/src/utils/MiscHelpers.js +++ b/src/utils/MiscHelpers.js @@ -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 */