Skip to content

Commit

Permalink
Fix bug with accessing device id
Browse files Browse the repository at this point in the history
  • Loading branch information
Amelia-C5 committed Oct 10, 2024
1 parent 571b24e commit ce7473a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Detail.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function Detail() {
<h2 className="vibration-heading">Vibration</h2>
<button
className="vibration-button"
value={device.id}
value={device.deviceId}
//onClick={props.toggleVibration}
>
{currentHealthData.isVibrating ? "Off" : "On"}
Expand Down

0 comments on commit ce7473a

Please sign in to comment.