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 [rawData, setRawData] = useState([]);
|
||||||
const [AffAlert,setAffAlert] = useState(false);
|
const [AffAlert,setAffAlert] = useState(false);
|
||||||
|
const [AffRegles, setAffRegles] = useState(false);
|
||||||
const identifiant = object.id;
|
const identifiant = object.id;
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@ -55,6 +56,7 @@ function MeteoInfos({
|
|||||||
</h1>
|
</h1>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<BoutonGraphique
|
<BoutonGraphique
|
||||||
type="temperature"
|
type="temperature"
|
||||||
graphStates={graphStates}
|
graphStates={graphStates}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user