update placeholder blocks

This commit is contained in:
Ben Phelps 2023-08-02 06:04:04 +03:00
parent a0ffb46a6f
commit 9d10de9949
7 changed files with 11 additions and 11 deletions

View file

@ -41,13 +41,13 @@ export default function Component({ service }) {
}
if (!data) {
return <Container><Block position={{bottom: 2, left: 2}}>-</Block></Container>;
return <Container><Block position="bottom-3 left-3">-</Block></Container>;
}
const sensorData = data.find((item) => item.label === sensorName);
if (!sensorData) {
return <Container><Block position={{bottom: 2, left: 2}}>-</Block></Container>;
return <Container><Block position="bottom-3 left-3">-</Block></Container>;
}
return (