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 (
<CardDeck>
<Card>
@ -41,8 +41,8 @@ export default function Home() {
</Card>
</CardDeck>
)
} else {
return (
} else {}*/
return (
<>
<Row>
<Col xs lg="2">
@ -121,5 +121,5 @@ export default function Home() {
</Col>
</Row>
</>
)}
)
}