diff --git a/src/pages/EnablePayments/TermsPage/LongTermsForm.js b/src/pages/EnablePayments/TermsPage/LongTermsForm.js index baf8db1e974c..00f630e12ab9 100644 --- a/src/pages/EnablePayments/TermsPage/LongTermsForm.js +++ b/src/pages/EnablePayments/TermsPage/LongTermsForm.js @@ -8,7 +8,7 @@ import * as Localize from '../../../libs/Localize'; import CONST from '../../../CONST'; import Icon from '../../../components/Icon'; import * as Expensicons from '../../../components/Icon/Expensicons'; -import * as Link from '../../../libs/actions/Link'; +import TextLink from '../../../components/TextLink'; const termsData = [ { @@ -132,12 +132,12 @@ const LongTermsForm = () => ( - Link.openExternalLink(CONST.FEES_URL)} + {Localize.translateLocal('termsStep.longTermsForm.printerFriendlyView')} - + ); diff --git a/src/pages/EnablePayments/TermsPage/ShortTermsForm.js b/src/pages/EnablePayments/TermsPage/ShortTermsForm.js index 05b4c6fcff10..f85e366d908d 100644 --- a/src/pages/EnablePayments/TermsPage/ShortTermsForm.js +++ b/src/pages/EnablePayments/TermsPage/ShortTermsForm.js @@ -4,7 +4,7 @@ import styles from '../../../styles/styles'; import Text from '../../../components/Text'; import * as Localize from '../../../libs/Localize'; import CONST from '../../../CONST'; -import * as Link from '../../../libs/actions/Link'; +import TextLink from '../../../components/TextLink'; const ShortTermsForm = () => ( <> @@ -152,23 +152,17 @@ const ShortTermsForm = () => ( {Localize.translateLocal('termsStep.shortTermsForm.generalInfo')} {' '} - Link.openExternalLink(CONST.CFPB_PREPAID_URL)} - > + {CONST.TERMS.CFPB_PREPAID} - + . {Localize.translateLocal('termsStep.shortTermsForm.conditionsDetails')} {' '} - Link.openExternalLink(CONST.FEES_URL)} - > + {CONST.TERMS.USE_EXPENSIFY_FEES} - + {' '} {Localize.translateLocal('termsStep.shortTermsForm.conditionsPhone')}