Fix implementation of heartrate retrieving, Update styling

This commit is contained in:
2021-10-02 14:23:12 +09:00
parent de69c49d46
commit 979bbe2a7f
3 changed files with 17 additions and 11 deletions
+3 -1
View File
@@ -26,7 +26,9 @@ function App (props) {
} else {
return (
<>
<FontAwesomeIcon icon={faHeartbeat} className="w-5 h-5 inline ml-3"/> {data.heartrate}
<FontAwesomeIcon icon={faHeartbeat} className="w-5 h-5 inline ml-3"/>
&nbsp;
{data.heartrate.value}
</>
)
}
+3 -1
View File
@@ -32,7 +32,9 @@ function App (props) {
}
return (
<>
<FontAwesomeIcon icon={faBed} className="w-5 h-5 inline"/> {hours}:{minutes}
<FontAwesomeIcon icon={faBed} className="w-5 h-5 inline"/>
&nbsp;
{hours}:{minutes}
</>
)
}