Skip to content

Commit

Permalink
👽️ Updates path to currency-flag assets
Browse files Browse the repository at this point in the history
  • Loading branch information
Lissy93 authored Mar 19, 2023
1 parent 27b8352 commit 45e06d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/MiscHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 45e06d2

Please sign in to comment.