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