Add currencies ETB, GEL, and UGX which Yadio now supports (#275)

Add currencies ETB, GEL, and UGX

Co-authored-by: Stephen Gornick <sgornick@gmail.com>
This commit is contained in:
Stephen Gornick 2022-10-10 06:13:00 -05:00 committed by GitHub
parent f48846a907
commit f2dc7d0f90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -84,6 +84,9 @@ const FlagWithProps = ({ code }: Props): JSX.Element => {
if (code === 'XAF') flag = <Flags.CM {...defaultProps} />;
if (code === 'UAH') flag = <Flags.UA {...defaultProps} />;
if (code === 'TND') flag = <Flags.TN {...defaultProps} />;
if (code === 'ETB') flag = <Flags.ET {...defaultProps} />;
if (code === 'GEL') flag = <Flags.GE {...defaultProps} />;
if (code === 'UGX') flag = <Flags.UG {...defaultProps} />;
if (code === 'ANY') flag = <EarthIcon {...defaultProps} />;
if (code === 'XAU') flag = <GoldIcon {...defaultProps} />;
if (code === 'BTC') flag = <SwapCallsIcon color='primary' />;

View File

@ -68,6 +68,9 @@
"67": "MAD",
"68": "AED",
"69": "TND",
"70": "ETB",
"71": "GEL",
"72": "UGX",
"300": "XAU",
"1000": "BTC"
}