Refactor code a bit.

This commit is contained in:
Andrés Uribe Stengel 2020-07-16 14:04:21 +02:00
parent 3be2062f5f
commit 40c5dc2cb0

View File

@ -30,7 +30,7 @@ export default function Home() {
} }
if (sensorData.length <= 0) { /*if (sensorData.length <= 0) {
return ( return (
<CardDeck> <CardDeck>
<Card> <Card>
@ -41,7 +41,7 @@ export default function Home() {
</Card> </Card>
</CardDeck> </CardDeck>
) )
} else { } else {}*/
return ( return (
<> <>
<Row> <Row>
@ -121,5 +121,5 @@ export default function Home() {
</Col> </Col>
</Row> </Row>
</> </>
)} )
} }