Skip to content

Commit

Permalink
fix error in list-filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane98c committed Feb 4, 2025
1 parent 9702bb3 commit 371ba72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/list-filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const ListFilter = ({ items, selectedItems, title, placeholder, setter }) => {
return { filtered: [], hidden }
}

const filtered = items.filter(
let filtered = items.filter(
(item) =>
!selectedItems?.includes(item) &&
item.toLocaleLowerCase().includes(query.toLocaleLowerCase())
Expand Down

0 comments on commit 371ba72

Please sign in to comment.