From da67cd42060860b2f1a61cdf74a6a2419b1b358a Mon Sep 17 00:00:00 2001 From: denis Date: Sun, 3 Nov 2024 02:33:08 -0500 Subject: [PATCH] Update resources/scripts/components/dashboard/AccountOverviewContainer.tsx --- .../dashboard/AccountOverviewContainer.tsx | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/resources/scripts/components/dashboard/AccountOverviewContainer.tsx b/resources/scripts/components/dashboard/AccountOverviewContainer.tsx index 8b09eb3..532385f 100644 --- a/resources/scripts/components/dashboard/AccountOverviewContainer.tsx +++ b/resources/scripts/components/dashboard/AccountOverviewContainer.tsx @@ -30,29 +30,30 @@ const Container = styled.div` `; export default () => { + const { t } = useTranslation('dashboard/account'); const { state } = useLocation(); return ( - + {state?.twoFactorRedirect && ( - - Your account must have two-factor authentication enabled in order to continue. + + {t('two_factor.required.description')} )} - + - + - + ); -}; +}; \ No newline at end of file