If birth date is not set, ensure AA still shows (#8709)

This commit is contained in:
Eric Bailey
2025-07-23 21:01:32 -05:00
committed by GitHub
parent 6a7b8a279b
commit 3775aeb146
+2 -1
View File
@@ -28,7 +28,8 @@ export function useAgeAssurance(): AgeAssurance {
return useMemo(() => {
const isReady = aa.isReady && preferencesLoaded
const isDeclaredUnderage = (declaredAge || 0) < 18
const isDeclaredUnderage =
declaredAge !== undefined ? declaredAge < 18 : false
const state: AgeAssurance = {
isReady,
status: aa.status,