fix: le filtre par département plante
parent
8878aad654
commit
5a93deb789
|
@ -37,7 +37,7 @@ function FiltreDepartement(props: { onChange: (event: React.ChangeEvent<HTMLSele
|
|||
</select>;
|
||||
}
|
||||
|
||||
const normalize = (text: string) => text
|
||||
const normalize = (text: string) => (text || "")
|
||||
.toLowerCase()
|
||||
.normalize("NFD")
|
||||
.replace(/\p{Diacritic}/gu, "")
|
||||
|
|
Loading…
Reference in New Issue