From 3915bb43169ae501d81571c5e1efa12cf0e24dbb Mon Sep 17 00:00:00 2001 From: dan Date: Thu, 4 Apr 2024 21:34:55 +0100 Subject: Enforce Text suffix for Text-rendering components (#3407) * Rm unused * Add Text suffix to Title/Description * Add Text suffix to text components * Add Text suffix to props * Validate Text components returns --- src/screens/Onboarding/StepModeration/index.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/screens/Onboarding/StepModeration/index.tsx') diff --git a/src/screens/Onboarding/StepModeration/index.tsx b/src/screens/Onboarding/StepModeration/index.tsx index c5bdf5622..d494f48dd 100644 --- a/src/screens/Onboarding/StepModeration/index.tsx +++ b/src/screens/Onboarding/StepModeration/index.tsx @@ -9,9 +9,9 @@ import {logEvent} from '#/lib/statsig/statsig' import {usePreferencesQuery} from '#/state/queries/preferences' import {usePreferencesSetAdultContentMutation} from 'state/queries/preferences' import { - Description, + DescriptionText, OnboardingControls, - Title, + TitleText, } from '#/screens/Onboarding/Layout' import {Context} from '#/screens/Onboarding/state' import {AdultContentEnabledPref} from '#/screens/Onboarding/StepModeration/AdultContentEnabledPref' @@ -56,14 +56,14 @@ export function StepModeration() { - + <TitleText> <Trans>You're in control</Trans> - - + + Select what you want to see (or not see), and we’ll handle the rest. - + {!preferences ? ( -- cgit 1.4.1