This commit is contained in:
Hailey
2025-08-01 11:56:21 -07:00
parent 32acfc9191
commit cfc238614b
2 changed files with 2 additions and 5 deletions
-1
View File
@@ -75,7 +75,6 @@ function StepCaptchaInner({
const stateParam = React.useMemo(() => nanoid(15), [])
const url = React.useMemo(() => {
console.log(`service url: ${state.serviceUrl}`)
const newUrl = new URL(state.serviceUrl)
newUrl.pathname = CAPTCHA_PATH
newUrl.searchParams.set(
+2 -4
View File
@@ -7,6 +7,7 @@ import {msg, Trans} from '@lingui/macro'
import {useLingui} from '@lingui/react'
import {FEEDBACK_FORM_URL} from '#/lib/constants'
import {logger} from '#/logger'
import {isAndroid} from '#/platform/detection'
import {useServiceQuery} from '#/state/queries/service'
import {useStarterPackQuery} from '#/state/queries/starter-packs'
@@ -28,9 +29,8 @@ import {Divider} from '#/components/Divider'
import {LinearGradientBackground} from '#/components/LinearGradientBackground'
import {InlineLinkText} from '#/components/Link'
import {Text} from '#/components/Typography'
import * as bsky from '#/types/bsky'
import {GCP_PROJECT_ID} from '#/env'
import {logger} from '#/logger'
import * as bsky from '#/types/bsky'
export function Signup({onPressBack}: {onPressBack: () => void}) {
const {_} = useLingui()
@@ -107,11 +107,9 @@ export function Signup({onPressBack}: {onPressBack: () => void}) {
// On Android, warmup the Play Integrity API on the signup screen so it is ready by the time we get to the gate screen.
useEffect(() => {
console.log('here...')
if (!isAndroid) {
return
}
console.log('TRYING TO WARMUP')
ReactNativeDeviceAttest.warmupIntegrity(GCP_PROJECT_ID).catch(err =>
logger.error(err),
)