Fix catergory filter

This commit is contained in:
FlorianSpeicher
2025-06-15 15:12:35 +02:00
parent 2ddee86446
commit f296f06371

View File

@@ -75,7 +75,7 @@ export default function Home() {
})
.filter((item) => {
if (!selectedCategory) return true;
return item.category === selectedCategory;
return item.category.toLowerCase() === selectedCategory.toLowerCase();
})
.filter((item) => {
if (!selectedRating) return true;