From 8b7ab0e1240ca5f0ffcbbd7a3cf96b081a6b2bac Mon Sep 17 00:00:00 2001
From: Daven <53495928+dapsavoie@users.noreply.github.com>
Date: Tue, 13 Jun 2023 00:20:54 +0100
Subject: [PATCH] Add bd taka to available currencies (#659)
* add bd to worldflags
* added bdt to currencies.json
---
frontend/src/components/Icons/WorldFlags.tsx | 1 +
frontend/static/assets/currencies.json | 1 +
2 files changed, 2 insertions(+)
diff --git a/frontend/src/components/Icons/WorldFlags.tsx b/frontend/src/components/Icons/WorldFlags.tsx
index e996dbf6..37d03619 100644
--- a/frontend/src/components/Icons/WorldFlags.tsx
+++ b/frontend/src/components/Icons/WorldFlags.tsx
@@ -88,6 +88,7 @@ const FlagWithProps = ({ code, width = '1.428em', height = '1.428em' }: Props):
if (code === 'UGX') flag = ;
if (code === 'RSD') flag = ;
if (code === 'IRT') flag = ;
+ if (code === 'BDT') flag = ;
if (code === 'ANY') flag = ;
if (code === 'XAU') flag = ;
if (code === 'BTC') flag = ;
diff --git a/frontend/static/assets/currencies.json b/frontend/static/assets/currencies.json
index 2d451777..16327d4c 100644
--- a/frontend/static/assets/currencies.json
+++ b/frontend/static/assets/currencies.json
@@ -73,6 +73,7 @@
"72": "UGX",
"73": "RSD",
"74": "IRT",
+ "75": "BDT",
"300": "XAU",
"1000": "BTC"
}