Skip to content

Commit

Permalink
fix: conver fiat currency search to lower case
Browse files Browse the repository at this point in the history
  • Loading branch information
UrbanWill committed Jan 13, 2025
1 parent 038595e commit e069f59
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
},
Expand Down

0 comments on commit e069f59

Please sign in to comment.