mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-04 08:47:23 +08:00
🚚 Move a config file to better location
This commit is contained in:
parent
408b7eede5
commit
9de82ee152
2 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
import { __ } from '@wordpress/i18n';
|
||||
import { TAB_IDS, selectTab } from '../../../../../utils/tabSelector';
|
||||
import { payLaterMessagingComponentData } from '../../../../../data/settings/pay-later-messaging-component-data';
|
||||
import { payLaterMessaging } from './pay-later-messaging';
|
||||
|
||||
export const getFeatures = ( setActiveModal ) => {
|
||||
const storeCountry = ppcpSettings?.storeCountry;
|
||||
|
@ -237,7 +237,7 @@ export const getFeatures = ( setActiveModal ) => {
|
|||
},
|
||||
];
|
||||
|
||||
const countryData = payLaterMessagingComponentData[ storeCountry ] || {};
|
||||
const countryData = payLaterMessaging[ storeCountry ] || {};
|
||||
|
||||
// Add "Pay Later Messaging" to the feature list, if it's available.
|
||||
if (
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { __, sprintf } from '@wordpress/i18n';
|
||||
|
||||
export const payLaterMessagingComponentData = {
|
||||
export const payLaterMessaging = {
|
||||
US: {
|
||||
description: sprintf(
|
||||
__(
|
Loading…
Add table
Add a link
Reference in a new issue