From 782e9540834ca7145a0b14dd518c6e97b2c3d546 Mon Sep 17 00:00:00 2001 From: Tim Golen Date: Fri, 30 Aug 2024 10:29:28 -0600 Subject: [PATCH] Rename component and style text as normal --- .../Security/TwoFactorAuth/Steps/GetCode.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/pages/settings/Security/TwoFactorAuth/Steps/GetCode.tsx b/src/pages/settings/Security/TwoFactorAuth/Steps/GetCode.tsx index 45cc899498f2..372df5d17f6d 100644 --- a/src/pages/settings/Security/TwoFactorAuth/Steps/GetCode.tsx +++ b/src/pages/settings/Security/TwoFactorAuth/Steps/GetCode.tsx @@ -15,9 +15,9 @@ import type {BaseTwoFactorAuthFormOnyxProps, BaseTwoFactorAuthFormRef} from '@pa import CONST from '@src/CONST'; import ONYXKEYS from '@src/ONYXKEYS'; -type CodesStepProps = BaseTwoFactorAuthFormOnyxProps & BackToParams; +type GetCodeProps = BaseTwoFactorAuthFormOnyxProps & BackToParams; -function CodesStep({account}: CodesStepProps) { +function GetCode({account}: GetCodeProps) { const styles = useThemeStyles(); const {translate} = useLocalize(); @@ -34,7 +34,7 @@ function CodesStep({account}: CodesStepProps) { > - {translate('twoFactorAuth.explainProcessToRemove')} + {translate('twoFactorAuth.explainProcessToRemove')} @@ -62,11 +62,11 @@ function CodesStep({account}: CodesStepProps) { ); } -CodesStep.displayName = 'CodesStep'; +GetCode.displayName = 'GetCode'; -export default withOnyx({ +export default withOnyx({ account: {key: ONYXKEYS.ACCOUNT}, user: { key: ONYXKEYS.USER, }, -})(CodesStep); +})(GetCode);