From d7aea80b771a1edd5f24b2eacdac88e05b42cf20 Mon Sep 17 00:00:00 2001 From: Himanshu Gupta Date: Tue, 2 Apr 2024 07:02:08 +0530 Subject: [PATCH] fix(locateme): added loadingCb --- __app/component/LocateMe/LocateMe.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__app/component/LocateMe/LocateMe.js b/__app/component/LocateMe/LocateMe.js index 435e79f..755e786 100644 --- a/__app/component/LocateMe/LocateMe.js +++ b/__app/component/LocateMe/LocateMe.js @@ -94,7 +94,7 @@ function LocateMe({ }) { const onClick = async () => { if (LocateMe.isBrowserSupport()) { - handleLoading(loadingCb); + handleLoading({ loadingCb }); const isPermitByBrowser = await checkPermitByBrowser(disbaleToast, failureMsg, failureCb); const isScriptInBrowser = await checkScriptInBrowser( disbaleToast,