diff --git a/src/components/General/CurrencyDropdown.tsx b/src/components/General/CurrencyDropdown.tsx index 5cc9cf6c..45dd9ff8 100644 --- a/src/components/General/CurrencyDropdown.tsx +++ b/src/components/General/CurrencyDropdown.tsx @@ -4,9 +4,9 @@ import { useDispatch, useSelector } from 'react-redux' import { XStack, YStack } from 'tamagui' import { RootState } from '../../redux/store' -import { formatNumbersWithComa } from '../../utilities' +import { formatNumbersWithComa, getCurrencyLabel } from '../../utilities' import ChevronIcon from './ChevronIcon' -import { COIN_GECKO_API_KEY, LOADING } from '../../constants' +import { COIN_GECKO_API_KEY, LOADING, currencySymbols } from '../../constants' type CurrencyDropdownProps = { depositAmount: number @@ -86,7 +86,7 @@ const CurrencyDropdown = ({ depositAmount }: CurrencyDropdownProps) => { - {isCurrencyLoading ? '' : currency} + {isCurrencyLoading ? '' : getCurrencyLabel(currency)}