Ajout de l'état pour afficher les règles dans le composant MeteoInfos

This commit is contained in:
Mathis 2025-04-06 14:35:53 +02:00
parent fa1135eaf9
commit 22f11e254c

View File

@ -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({
</h1>
</div>
</div>
<BoutonGraphique
type="temperature"
graphStates={graphStates}