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

(cherry picked from commit 3775aeb146)
This commit is contained in:
Eric Bailey
2025-07-23 21:01:32 -05:00
parent 834a279abb
commit bbafdbb9ea
+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,