Replace tos_url with tc_url for accurate naming
This commit is contained in:
parent
66b3106def
commit
5e1b6a71f4
|
@ -21,7 +21,7 @@ interface Props {
|
||||||
|
|
||||||
const Banner: React.FC< Props > = ( { isSubmitted, handleSetup } ) => {
|
const Banner: React.FC< Props > = ( { isSubmitted, handleSetup } ) => {
|
||||||
const { first_name } = getAdminSetting( 'currentUserData', {} );
|
const { first_name } = getAdminSetting( 'currentUserData', {} );
|
||||||
const { description, cta_label, tos_url } = getAdminSetting(
|
const { description, cta_label, tc_url } = getAdminSetting(
|
||||||
'wcpayWelcomePageIncentive'
|
'wcpayWelcomePageIncentive'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@ const Banner: React.FC< Props > = ( { isSubmitted, handleSetup } ) => {
|
||||||
{ strings.noThanks }
|
{ strings.noThanks }
|
||||||
</Button>
|
</Button>
|
||||||
<p>{ strings.TosAndPp }</p>
|
<p>{ strings.TosAndPp }</p>
|
||||||
<p>{ strings.termsAndConditions( tos_url ) }</p>
|
<p>{ strings.termsAndConditions( tc_url ) }</p>
|
||||||
</CardBody>
|
</CardBody>
|
||||||
<CardDivider />
|
<CardDivider />
|
||||||
<CardBody className="woopayments-welcome-page__payments">
|
<CardBody className="woopayments-welcome-page__payments">
|
||||||
|
|
|
@ -31,7 +31,7 @@ declare global {
|
||||||
id: string;
|
id: string;
|
||||||
description: string;
|
description: string;
|
||||||
cta_label: string;
|
cta_label: string;
|
||||||
tos_url: string;
|
tc_url: string;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue