From 44beac474207442609e0a387142b6978aaf81e8c Mon Sep 17 00:00:00 2001 From: Luka Bajovic Date: Thu, 16 Mar 2023 19:14:16 +0100 Subject: [PATCH] Added Serbian Dinar (RSD) currency. (#392) --- 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 fdcd5be0..53abfcb8 100644 --- a/frontend/src/components/Icons/WorldFlags.tsx +++ b/frontend/src/components/Icons/WorldFlags.tsx @@ -86,6 +86,7 @@ const FlagWithProps = ({ code, width = '1.428em', height = '1.428em' }: Props): if (code === 'ETB') flag = ; if (code === 'GEL') flag = ; if (code === 'UGX') flag = ; + if (code === 'RSD') 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 b76fd0e0..3ec41b46 100644 --- a/frontend/static/assets/currencies.json +++ b/frontend/static/assets/currencies.json @@ -71,6 +71,7 @@ "70": "ETB", "71": "GEL", "72": "UGX", + "73": "RSD", "300": "XAU", "1000": "BTC" }