From c1acd1b01e63796ee8be52be5e7209a8e5ba4d1a Mon Sep 17 00:00:00 2001 From: Firoz Ahmed Date: Thu, 6 Jan 2022 19:09:50 +0530 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); });