From 03b25df6f4aa2f6f3d561ce1dfa2dd535b4b8df6 Mon Sep 17 00:00:00 2001 From: Ivan Martinez Date: Wed, 31 Jan 2024 22:45:05 -0500 Subject: [PATCH] Fix lowercase bug --- src/components/Derivatives.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Derivatives.tsx b/src/components/Derivatives.tsx index 4c6a8d1..e85a5c8 100644 --- a/src/components/Derivatives.tsx +++ b/src/components/Derivatives.tsx @@ -16,7 +16,7 @@ const Derivatives = () => { const filtered = derivatives .filter( (derivative: DerivativeType) => - !artist || derivative.artistName === artist + !artist || derivative.artistName.toLowerCase() === artist ) .filter( (derivative: DerivativeType) => @@ -33,7 +33,7 @@ const Derivatives = () => {