Skip to content

Commit

Permalink
Make currency.code display in upper case always
Browse files Browse the repository at this point in the history
  • Loading branch information
0xNeshi committed Jan 12, 2024
1 parent 92fe18d commit 3525562
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/CurrencySelector/CurrencySelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ export default function CurrencySelector(props: Props) {
className="w-full border-r border-gray-l3 dark:border-bluegray px-4 py-3.5 text-sm leading-5 text-gray-900 focus:ring-0"
displayValue={(currency: Currency) =>
!!currency.name
? `${currency.code} - ${currency.name}`
: currency.code
? `${currency.code.toUpperCase()} - ${currency.name}`
: currency.code.toUpperCase()
}
onChange={(event) => setQuery(event.target.value)}
spellCheck={false}
Expand Down

0 comments on commit 3525562

Please sign in to comment.