From 22f11e254cce739d6741d9c36252100c8f05b825 Mon Sep 17 00:00:00 2001 From: Mathis Date: Sun, 6 Apr 2025 14:35:53 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20de=20l'=C3=A9tat=20pour=20afficher=20le?= =?UTF-8?q?s=20r=C3=A8gles=20dans=20le=20composant=20MeteoInfos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Front-end/src/components/MeteoInfos.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Front-end/src/components/MeteoInfos.jsx b/Front-end/src/components/MeteoInfos.jsx index 428faee..13a0046 100644 --- a/Front-end/src/components/MeteoInfos.jsx +++ b/Front-end/src/components/MeteoInfos.jsx @@ -14,6 +14,7 @@ function MeteoInfos({ }) { const [rawData, setRawData] = useState([]); const [AffAlert,setAffAlert] = useState(false); + const [AffRegles, setAffRegles] = useState(false); const identifiant = object.id; useEffect(() => { @@ -55,6 +56,7 @@ function MeteoInfos({ +