diff --git a/src/routes/ListeResistants.tsx b/src/routes/ListeResistants.tsx index 18411bc..742efd1 100644 --- a/src/routes/ListeResistants.tsx +++ b/src/routes/ListeResistants.tsx @@ -19,18 +19,18 @@ function FiltreDepartement(props: { onChange: (event: React.ChangeEventAude - - - - - - + + + + + + - - + + - - + + @@ -47,6 +47,10 @@ export const ListeResistants = () => { const [departement, setDepartement] = React.useState(null) const [nom, setNom] = React.useState(undefined) + console.log("département set to ", departement) + + console.log("normalized to :", normalize(departement ||'')) + const filtreDepartements = (event: React.ChangeEvent) => setDepartement(event.target.value) const filtreNom = (event: React.ChangeEvent) => setNom(event.target.value)