0
0
mirror of https://github.com/yude-jp/yude.jp synced 2025-10-13 11:48:37 +09:00

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

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}
</>
)
}

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}
</>
)
}