Fix comparison operator for heartrate check in heart component

This commit is contained in:
wont-stream 2025-04-10 19:06:43 -04:00
parent 571aab24ed
commit 9abec28ab8

View file

@ -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>