Refactor code a bit.
This commit is contained in:
parent
3be2062f5f
commit
40c5dc2cb0
@ -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>
|
||||
</>
|
||||
)}
|
||||
)
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user