Ajout de l'état pour afficher les règles dans le composant MeteoInfos
This commit is contained in:
parent
fa1135eaf9
commit
22f11e254c
@ -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}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user