From c133db8e73151501fd724383c523cd8c013993f7 Mon Sep 17 00:00:00 2001 From: cdOut <88325488+cdOut@users.noreply.github.com> Date: Wed, 18 Oct 2023 16:00:17 +0200 Subject: [PATCH] Use FormProvider in NewContactMethodPage --- .../settings/Profile/Contacts/NewContactMethodPage.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/pages/settings/Profile/Contacts/NewContactMethodPage.js b/src/pages/settings/Profile/Contacts/NewContactMethodPage.js index 480c425a9094..e6f55b7cd6cb 100644 --- a/src/pages/settings/Profile/Contacts/NewContactMethodPage.js +++ b/src/pages/settings/Profile/Contacts/NewContactMethodPage.js @@ -18,8 +18,9 @@ import styles from '../../../../styles/styles'; import * as User from '../../../../libs/actions/User'; import * as LoginUtils from '../../../../libs/LoginUtils'; import * as ErrorUtils from '../../../../libs/ErrorUtils'; -import Form from '../../../../components/Form'; import CONST from '../../../../CONST'; +import FormProvider from '../../../../components/Form/FormProvider'; +import InputWrapper from '../../../../components/Form/InputWrapper'; const propTypes = { /* Onyx Props */ @@ -104,7 +105,7 @@ function NewContactMethodPage(props) { title={props.translate('contacts.newContactMethod')} onBackButtonPress={() => Navigation.goBack(ROUTES.SETTINGS_CONTACT_METHODS)} /> -
{props.translate('common.pleaseEnterEmailOrPhoneNumber')} - -
+ ); }