mirror of
https://github.com/selfxyz/self.git
synced 2026-04-05 03:00:53 -04:00
allow users to disclose nationality without asserting the value to a specific country
This commit is contained in:
@@ -226,7 +226,9 @@ const ProveScreen: React.FC<ProveScreenProps> = ({ setSheetRegisterIsOpen }) =>
|
||||
case 'minimumAge':
|
||||
return `I am older than ${option.value} years old.`;
|
||||
case 'nationality':
|
||||
return `I have a valid passport from ${option.value}.`;
|
||||
return option.value === 'Any'
|
||||
? `The issuer country of my passport.`
|
||||
: `I have a valid passport from ${option.value}.`;
|
||||
case 'excludedCountries':
|
||||
return option.value.length > 0
|
||||
? `I am not part of the following countries: ${option.value
|
||||
|
||||
Reference in New Issue
Block a user