Fix comparison operator for heartrate check in heart component
This commit is contained in:
parent
571aab24ed
commit
9abec28ab8
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ export default () => {
|
|||
|
||||
return (
|
||||
<>
|
||||
<div style={heartrate == 0 ? "display:none" : `--bpm: ${heartrate};`} class="heart">
|
||||
<div style={heartrate === 0 ? "display:none" : `--bpm: ${heartrate};`} class="heart">
|
||||
♥️
|
||||
<br />
|
||||
<span>{heartrate} BPM</span>
|
||||
|
|
Loading…
Add table
Reference in a new issue