From 32686f3a406c330c3b3b6c599a541dc8cf5eb408 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 21 Mar 2022 13:40:43 -0500 Subject: [PATCH] AgeVerification: generalize language --- app/soapbox/features/verification/steps/age_verification.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/soapbox/features/verification/steps/age_verification.js b/app/soapbox/features/verification/steps/age_verification.js index 462ff7e64..450c5a459 100644 --- a/app/soapbox/features/verification/steps/age_verification.js +++ b/app/soapbox/features/verification/steps/age_verification.js @@ -30,6 +30,7 @@ const AgeVerification = () => { const isLoading = useSelector((state) => state.getIn(['verification', 'isLoading'])); const ageMinimum = useSelector((state) => state.getIn(['verification', 'ageMinimum'])); + const siteTitle = useSelector((state) => state.instance.title); const [date, setDate] = React.useState(''); const isValid = typeof date === 'object'; @@ -80,7 +81,7 @@ const AgeVerification = () => { - 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 cannot access this platform.