Skip to content

Commit

Permalink
fix(locateme): added loadingCb
Browse files Browse the repository at this point in the history
  • Loading branch information
opensrc0 committed Apr 2, 2024
1 parent 964369b commit d7aea80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __app/component/LocateMe/LocateMe.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d7aea80

Please sign in to comment.