From a3046d7f015f87817ff216794d2e93a16136b918 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Tue, 15 Jul 2025 17:32:13 -0500 Subject: [PATCH] UPdate debug --- src/state/ageAssurance/index.tsx | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/src/state/ageAssurance/index.tsx b/src/state/ageAssurance/index.tsx index f3d7de6f36..6c688d1b63 100644 --- a/src/state/ageAssurance/index.tsx +++ b/src/state/ageAssurance/index.tsx @@ -5,7 +5,6 @@ import {useQuery} from '@tanstack/react-query' import {networkRetry} from '#/lib/async/retry' import {useGetAndRegisterPushToken} from '#/lib/notifications/notifications' import {useGate} from '#/lib/statsig/statsig' -// import {wait} from '#/lib/async/wait' import {isNetworkError} from '#/lib/strings/errors' import {Logger} from '#/logger' import { @@ -61,15 +60,12 @@ export function Provider({children}: {children: React.ReactNode}) { const {data} = await networkRetry(3, () => agent.app.bsky.unspecced.getAgeAssuranceState(), ) - // const {data} = await wait( - // 1e3, - // (() => ({ - // data: { - // lastInitiatedAt: undefined,//new Date().toISOString(), - // status: 'pending', - // } as AppBskyUnspeccedDefs.AgeAssuranceState, - // }))(), - // ) + // const {data} = { + // data: { + // lastInitiatedAt: new Date().toISOString(), + // status: 'pending', + // } as AppBskyUnspeccedDefs.AgeAssuranceState, + // } logger.debug(`fetch`, { data,