Improve logic to show most relevant error message in AA restricted regions (#10522)
Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Eric Bailey <git@esb.lol>
This commit is contained in:
@@ -308,17 +308,10 @@ export function StepInfo({
|
||||
<Admonition.Icon />
|
||||
<Admonition.Content>
|
||||
<Admonition.Text>
|
||||
{!isOverAppMinAccessAge ? (
|
||||
<Plural
|
||||
value={MIN_ACCESS_AGE}
|
||||
other="You must be # years of age or older to create an account."
|
||||
/>
|
||||
) : (
|
||||
<Plural
|
||||
value={aaRegionConfig.minAccessAge}
|
||||
other="You must be # years of age or older to create an account in your region."
|
||||
/>
|
||||
)}
|
||||
<Plural
|
||||
value={aaRegionConfig.minAccessAge}
|
||||
other="You must be # years of age or older to create an account in your region."
|
||||
/>
|
||||
</Admonition.Text>
|
||||
{IS_NATIVE &&
|
||||
!isDeviceGeolocationGranted &&
|
||||
|
||||
Reference in New Issue
Block a user