From e33fc743f216d0285f6d3d1a3857f4ff71932cf7 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Wed, 7 Jan 2026 20:28:54 -0600 Subject: [PATCH] Fix bad import --- src/screens/Signup/StepInfo/index.tsx | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/screens/Signup/StepInfo/index.tsx b/src/screens/Signup/StepInfo/index.tsx index a022991e0a..4beced1852 100644 --- a/src/screens/Signup/StepInfo/index.tsx +++ b/src/screens/Signup/StepInfo/index.tsx @@ -27,7 +27,7 @@ import {Loader} from '#/components/Loader' import {usePreemptivelyCompleteActivePolicyUpdate} from '#/components/PolicyUpdateOverlay/usePreemptivelyCompleteActivePolicyUpdate' import * as Toast from '#/components/Toast' import { - isUserUnderAge, + isUnderAge, MIN_ACCESS_AGE, useAgeAssuranceRegionConfigWithFallback, } from '#/ageAssurance/util' @@ -76,16 +76,13 @@ export function StepInfo({ const {setDeviceGeolocation} = useDeviceGeolocationApi() const locationControl = Dialog.useDialogControl() const isOverRegionMinAccessAge = state.dateOfBirth - ? !isUserUnderAge( - state.dateOfBirth.toISOString(), - aaRegionConfig.minAccessAge, - ) + ? !isUnderAge(state.dateOfBirth.toISOString(), aaRegionConfig.minAccessAge) : true const isOverAppMinAccessAge = state.dateOfBirth - ? !isUserUnderAge(state.dateOfBirth.toISOString(), MIN_ACCESS_AGE) + ? !isUnderAge(state.dateOfBirth.toISOString(), MIN_ACCESS_AGE) : true const isOverMinAdultAge = state.dateOfBirth - ? !isUserUnderAge(state.dateOfBirth.toISOString(), 18) + ? !isUnderAge(state.dateOfBirth.toISOString(), 18) : true const isDeviceGeolocationGranted = useIsDeviceGeolocationGranted()