From 33d8126c5cb37ffa5caf3f6eb70f5d4cf8c1e98e Mon Sep 17 00:00:00 2001 From: Stephen Gornick Date: Wed, 1 Jun 2022 17:59:36 -0500 Subject: [PATCH] Add currency aed (#156) Co-authored-by: Stephen Gornick --- frontend/src/components/FlagWithProps/FlagWithProps.tsx | 1 + frontend/static/assets/currencies.json | 1 + 2 files changed, 2 insertions(+) diff --git a/frontend/src/components/FlagWithProps/FlagWithProps.tsx b/frontend/src/components/FlagWithProps/FlagWithProps.tsx index 899fa3a4..dbcdd1e6 100644 --- a/frontend/src/components/FlagWithProps/FlagWithProps.tsx +++ b/frontend/src/components/FlagWithProps/FlagWithProps.tsx @@ -15,6 +15,7 @@ const FlagWithProps = ({ code }: Props): JSX.Element => { let flag: JSX.Element | null = null; + if(code === 'AED') flag = ; if(code === 'AUD') flag = ; if(code === 'ARS') flag = ; if(code === 'BRL') flag = ; diff --git a/frontend/static/assets/currencies.json b/frontend/static/assets/currencies.json index 01356b1f..8b0188f2 100644 --- a/frontend/static/assets/currencies.json +++ b/frontend/static/assets/currencies.json @@ -66,6 +66,7 @@ "65":"EGP", "66":"LKR", "67":"MAD", + "68":"AED", "300":"XAU", "1000":"BTC" }