Skip to content

Commit

Permalink
Fix lowercase bug
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKiwi committed Feb 1, 2024
1 parent 42dfa04 commit 03b25df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Derivatives.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const Derivatives = () => {
const filtered = derivatives
.filter(
(derivative: DerivativeType) =>
!artist || derivative.artistName === artist
!artist || derivative.artistName.toLowerCase() === artist
)
.filter(
(derivative: DerivativeType) =>
Expand All @@ -33,7 +33,7 @@ const Derivatives = () => {
<div className="derivatives-filter">
<select
className="derivatives-dropdown"
onChange={(e) => setArtist(e.target.value)}
onChange={(e) => setArtist(e.target.value.toLowerCase())}
>
<option className="derivatives-option" value="">
All
Expand Down

0 comments on commit 03b25df

Please sign in to comment.