rm logs
This commit is contained in:
@@ -75,7 +75,6 @@ function StepCaptchaInner({
|
|||||||
|
|
||||||
const stateParam = React.useMemo(() => nanoid(15), [])
|
const stateParam = React.useMemo(() => nanoid(15), [])
|
||||||
const url = React.useMemo(() => {
|
const url = React.useMemo(() => {
|
||||||
console.log(`service url: ${state.serviceUrl}`)
|
|
||||||
const newUrl = new URL(state.serviceUrl)
|
const newUrl = new URL(state.serviceUrl)
|
||||||
newUrl.pathname = CAPTCHA_PATH
|
newUrl.pathname = CAPTCHA_PATH
|
||||||
newUrl.searchParams.set(
|
newUrl.searchParams.set(
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import {msg, Trans} from '@lingui/macro'
|
|||||||
import {useLingui} from '@lingui/react'
|
import {useLingui} from '@lingui/react'
|
||||||
|
|
||||||
import {FEEDBACK_FORM_URL} from '#/lib/constants'
|
import {FEEDBACK_FORM_URL} from '#/lib/constants'
|
||||||
|
import {logger} from '#/logger'
|
||||||
import {isAndroid} from '#/platform/detection'
|
import {isAndroid} from '#/platform/detection'
|
||||||
import {useServiceQuery} from '#/state/queries/service'
|
import {useServiceQuery} from '#/state/queries/service'
|
||||||
import {useStarterPackQuery} from '#/state/queries/starter-packs'
|
import {useStarterPackQuery} from '#/state/queries/starter-packs'
|
||||||
@@ -28,9 +29,8 @@ import {Divider} from '#/components/Divider'
|
|||||||
import {LinearGradientBackground} from '#/components/LinearGradientBackground'
|
import {LinearGradientBackground} from '#/components/LinearGradientBackground'
|
||||||
import {InlineLinkText} from '#/components/Link'
|
import {InlineLinkText} from '#/components/Link'
|
||||||
import {Text} from '#/components/Typography'
|
import {Text} from '#/components/Typography'
|
||||||
import * as bsky from '#/types/bsky'
|
|
||||||
import {GCP_PROJECT_ID} from '#/env'
|
import {GCP_PROJECT_ID} from '#/env'
|
||||||
import {logger} from '#/logger'
|
import * as bsky from '#/types/bsky'
|
||||||
|
|
||||||
export function Signup({onPressBack}: {onPressBack: () => void}) {
|
export function Signup({onPressBack}: {onPressBack: () => void}) {
|
||||||
const {_} = useLingui()
|
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.
|
// 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(() => {
|
useEffect(() => {
|
||||||
console.log('here...')
|
|
||||||
if (!isAndroid) {
|
if (!isAndroid) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
console.log('TRYING TO WARMUP')
|
|
||||||
ReactNativeDeviceAttest.warmupIntegrity(GCP_PROJECT_ID).catch(err =>
|
ReactNativeDeviceAttest.warmupIntegrity(GCP_PROJECT_ID).catch(err =>
|
||||||
logger.error(err),
|
logger.error(err),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user