diff --git a/src/components/General/CurrencyDropdown.tsx b/src/components/General/CurrencyDropdown.tsx index 4529e1cd..104c871e 100644 --- a/src/components/General/CurrencyDropdown.tsx +++ b/src/components/General/CurrencyDropdown.tsx @@ -2,9 +2,10 @@ import { Button, DropdownMenu } from '@status-im/components' import { ChevronDownIcon } from '@status-im/icons' import { CURRENCIES } from '../../constants' +import { CurrencyType } from './ValidatorsMenuWithPrice' type CurrencyDropdownProps = { - changeCurrency: (currency: (typeof CURRENCIES)[0]) => void + changeCurrency: (currency: CurrencyType) => void } const CurrencyDropdown = ({ changeCurrency }: CurrencyDropdownProps) => { @@ -12,11 +13,11 @@ const CurrencyDropdown = ({ changeCurrency }: CurrencyDropdownProps) => {