Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
firofame authored Jan 6, 2022
1 parent 41bfbe7 commit c1acd1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const App = () => {
// accuracy on android will be hardcoded to 1
// since the value is not available.
// For iOS, it is in degrees
CompassHeading.start(degree_update_rate, {heading, accuracy} => {
CompassHeading.start(degree_update_rate, ({heading, accuracy}) => {
setCompassHeading(heading);
});

Expand Down

0 comments on commit c1acd1b

Please sign in to comment.