From e069f5975672d6c54fcee451ee9b9b7ebc4dc9ab Mon Sep 17 00:00:00 2001 From: Will Urban Date: Mon, 13 Jan 2025 16:33:12 +0700 Subject: [PATCH] fix: conver fiat currency search to lower case --- .../Asset/Buy/components/form/routes/BuyTokensFiatPicker.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/extension/src/ui/domains/Asset/Buy/components/form/routes/BuyTokensFiatPicker.tsx b/apps/extension/src/ui/domains/Asset/Buy/components/form/routes/BuyTokensFiatPicker.tsx index 96546d86c..b759d1415 100644 --- a/apps/extension/src/ui/domains/Asset/Buy/components/form/routes/BuyTokensFiatPicker.tsx +++ b/apps/extension/src/ui/domains/Asset/Buy/components/form/routes/BuyTokensFiatPicker.tsx @@ -39,8 +39,8 @@ export const BuyTokensFiatPicker = () => { const filteredCurrencies = supportedRampCurrencies.filter( (currency) => !value || - currency.name.toLowerCase().includes(value) || - currency.fiatCurrency.toLowerCase().includes(value), + currency.name.toLowerCase().includes(value.toLowerCase()) || + currency.fiatCurrency.toLowerCase().includes(value.toLowerCase()), ) setFilteredCurrency(filteredCurrencies) },