diff --git a/src/components/frame/v5/pages/UserAdvancedPage/partials/NotificationsSection/NotificationsSection.tsx b/src/components/frame/v5/pages/UserAdvancedPage/partials/NotificationsSection/NotificationsSection.tsx index 7cadd79b92..4111bba8de 100644 --- a/src/components/frame/v5/pages/UserAdvancedPage/partials/NotificationsSection/NotificationsSection.tsx +++ b/src/components/frame/v5/pages/UserAdvancedPage/partials/NotificationsSection/NotificationsSection.tsx @@ -51,7 +51,7 @@ const NotificationsSection = () => { ); return ( - +
{formatText(MSG.sectionTitle)} diff --git a/src/components/frame/v5/pages/UserCryptoToFiatPage/CryptoToFiatPage.tsx b/src/components/frame/v5/pages/UserCryptoToFiatPage/CryptoToFiatPage.tsx index bac9c61ebf..11a09acb02 100644 --- a/src/components/frame/v5/pages/UserCryptoToFiatPage/CryptoToFiatPage.tsx +++ b/src/components/frame/v5/pages/UserCryptoToFiatPage/CryptoToFiatPage.tsx @@ -12,6 +12,7 @@ import { USER_HOME_ROUTE, } from '~routes'; import { formatText } from '~utils/intl.ts'; +import { formatMessage } from '~utils/yup/tests/helpers.ts'; import CryptoToFiatContextProvider from './context/CryptoToFiatContextProvider.tsx'; import AutomaticDeposits from './partials/AutomaticDeposits/AutomaticDeposits.tsx'; @@ -53,6 +54,9 @@ const UserCryptoToFiatPage = () => { return (
+

+ {formatMessage({ id: 'userCryptoToFiatPage.heading' })} +

{formatText(MSG.pageSubHeading)}

diff --git a/src/components/frame/v5/pages/UserPreferencesPage/UserPreferencesPage.tsx b/src/components/frame/v5/pages/UserPreferencesPage/UserPreferencesPage.tsx index 1cf6fd5d0b..3aafd6b7b4 100644 --- a/src/components/frame/v5/pages/UserPreferencesPage/UserPreferencesPage.tsx +++ b/src/components/frame/v5/pages/UserPreferencesPage/UserPreferencesPage.tsx @@ -7,6 +7,7 @@ import { useSetPageHeadingTitle } from '~context/PageHeadingContext/PageHeadingC import LoadingTemplate from '~frame/LoadingTemplate/index.ts'; import { LANDING_PAGE_ROUTE } from '~routes/index.ts'; import { formatText } from '~utils/intl.ts'; +import { formatMessage } from '~utils/yup/tests/helpers.ts'; import EmailSection from './partials/EmailSection/EmailSection.tsx'; import NotificationSettingsSection from './partials/NotificationSettingsSection.tsx'; @@ -35,7 +36,10 @@ const UserPreferencesPage: FC = () => { } return ( -
+
+

+ {formatMessage({ id: 'userPreferencesPage.accountPreferences' })} +

diff --git a/src/components/frame/v5/pages/UserPreferencesPage/partials/EmailSection/EmailSection.tsx b/src/components/frame/v5/pages/UserPreferencesPage/partials/EmailSection/EmailSection.tsx index ee956a3285..f26912e559 100644 --- a/src/components/frame/v5/pages/UserPreferencesPage/partials/EmailSection/EmailSection.tsx +++ b/src/components/frame/v5/pages/UserPreferencesPage/partials/EmailSection/EmailSection.tsx @@ -85,12 +85,13 @@ const EmailSection = () => { const getRightContent = () => { if (!isEmailInputVisible) { return ( -
+
{emailValue}
); @@ -135,7 +136,10 @@ const EmailSection = () => { return (
- + {formatText({ id: 'field.email' })} diff --git a/src/components/frame/v5/pages/UserProfilePage/partials/UserAccountForm/UserAccountForm.tsx b/src/components/frame/v5/pages/UserProfilePage/partials/UserAccountForm/UserAccountForm.tsx index ac7b31e2d3..1aa30e4420 100644 --- a/src/components/frame/v5/pages/UserProfilePage/partials/UserAccountForm/UserAccountForm.tsx +++ b/src/components/frame/v5/pages/UserProfilePage/partials/UserAccountForm/UserAccountForm.tsx @@ -3,6 +3,7 @@ import React, { type FC } from 'react'; import { useSetPageHeadingTitle } from '~context/PageHeadingContext/PageHeadingContext.ts'; import { useMobile } from '~hooks/index.ts'; import { formatText } from '~utils/intl.ts'; +import { formatMessage } from '~utils/yup/tests/helpers.ts'; import Button from '~v5/shared/Button/index.ts'; import Row from '../Row/index.ts'; @@ -19,6 +20,7 @@ const UserAccountForm: FC = () => { return (
+

{formatMessage({ id: 'profile.page' })}