We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 466242b commit afa0e25Copy full SHA for afa0e25
src/pages/EditShelterSupply/EditShelterSupply.tsx
@@ -30,7 +30,8 @@ const EditShelterSupply = () => {
30
if (v) {
31
setFilteredSupplies(
32
supplies.filter((s) =>
33
- s.name.toLowerCase().includes(v.toLowerCase())
+ s.name.toLowerCase().normalize('NFD').replace(/[\u0300-\u036f]/g, '')
34
+ .includes(v.toLowerCase().normalize('NFD').replace(/[\u0300-\u036f]/g, ''))
35
)
36
);
37
} else setFilteredSupplies(supplies);
0 commit comments