From e14d90648f2ec4f53636c4dad94ebf9480c32ab0 Mon Sep 17 00:00:00 2001 From: Ofek Rotem <92383710+ofekrotem@users.noreply.github.com> Date: Mon, 9 Sep 2024 11:52:17 +0300 Subject: [PATCH] Update examples/client/Locomotion/src/pages/Profile/Phone.js Co-authored-by: Omer Gery <68545675+OmerGery@users.noreply.github.com> --- examples/client/Locomotion/src/pages/Profile/Phone.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/client/Locomotion/src/pages/Profile/Phone.js b/examples/client/Locomotion/src/pages/Profile/Phone.js index 3e6b8db2f..b11aace7e 100644 --- a/examples/client/Locomotion/src/pages/Profile/Phone.js +++ b/examples/client/Locomotion/src/pages/Profile/Phone.js @@ -95,7 +95,7 @@ const Phone = ({ navigation }) => { useEffect(() => { if (isLoadingSaveButton) { if ( - !shouldHideCaptcha && Config.CAPTCHA_KEY && recaptchaRef.curren && !isDebugPhoneNumber() + !shouldHideCaptcha && Config.CAPTCHA_KEY && recaptchaRef.current && !isDebugPhoneNumber() ) { recaptchaRef.current.open(); } else {