🚚 Move a config file to better location

This commit is contained in:
Philipp Stracker 2025-01-27 18:58:37 +01:00
parent 408b7eede5
commit 9de82ee152
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -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 (

View file

@ -1,6 +1,6 @@
import { __, sprintf } from '@wordpress/i18n';
export const payLaterMessagingComponentData = {
export const payLaterMessaging = {
US: {
description: sprintf(
__(