From f54e05e959134693e72c4fa926708e251475e4ff Mon Sep 17 00:00:00 2001 From: Hailey Date: Thu, 7 Aug 2025 09:11:34 -0700 Subject: [PATCH] fallback if no env is set --- src/screens/Signup/StepCaptcha/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/screens/Signup/StepCaptcha/index.tsx b/src/screens/Signup/StepCaptcha/index.tsx index d984faf711..e2f249a13f 100644 --- a/src/screens/Signup/StepCaptcha/index.tsx +++ b/src/screens/Signup/StepCaptcha/index.tsx @@ -13,9 +13,11 @@ import {useSignupContext} from '#/screens/Signup/state' import {CaptchaWebView} from '#/screens/Signup/StepCaptcha/CaptchaWebView' import {atoms as a, useTheme} from '#/alf' import {FormError} from '#/components/forms/FormError' +import {GCP_PROJECT_ID} from '#/env' import {BackNextButtons} from '../BackNextButtons' -const CAPTCHA_PATH = isWeb ? '/gate/signup' : '/gate/signup/attempt-attest' +const CAPTCHA_PATH = + isWeb || GCP_PROJECT_ID === 0 ? '/gate/signup' : '/gate/signup/attempt-attest' export function StepCaptcha() { if (isWeb) {