AgeVerification: generalize language
This commit is contained in:
parent
787c6600a0
commit
32686f3a40
1 changed files with 2 additions and 1 deletions
|
@ -30,6 +30,7 @@ const AgeVerification = () => {
|
||||||
|
|
||||||
const isLoading = useSelector((state) => state.getIn(['verification', 'isLoading']));
|
const isLoading = useSelector((state) => state.getIn(['verification', 'isLoading']));
|
||||||
const ageMinimum = useSelector((state) => state.getIn(['verification', 'ageMinimum']));
|
const ageMinimum = useSelector((state) => state.getIn(['verification', 'ageMinimum']));
|
||||||
|
const siteTitle = useSelector((state) => state.instance.title);
|
||||||
|
|
||||||
const [date, setDate] = React.useState('');
|
const [date, setDate] = React.useState('');
|
||||||
const isValid = typeof date === 'object';
|
const isValid = typeof date === 'object';
|
||||||
|
@ -80,7 +81,7 @@ const AgeVerification = () => {
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
|
|
||||||
<Text theme='muted' size='sm'>
|
<Text theme='muted' size='sm'>
|
||||||
TRUTH Social requires users to be at least {ageMinimum} years old to
|
{siteTitle} requires users to be at least {ageMinimum} years old to
|
||||||
access its platform. Anyone under the age of {ageMinimum} years old
|
access its platform. Anyone under the age of {ageMinimum} years old
|
||||||
cannot access this platform.
|
cannot access this platform.
|
||||||
</Text>
|
</Text>
|
||||||
|
|
Loading…
Reference in a new issue