diff --git a/README.md b/README.md index 088d168..9514505 100644 --- a/README.md +++ b/README.md @@ -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); });