Remove customer-effort-score-tracks

This commit is contained in:
Fernando Marichal 2024-05-03 15:27:32 -03:00
parent f9cb819382
commit 079d1fc6b6
4 changed files with 8 additions and 19 deletions

View File

@ -97,19 +97,11 @@ if ( appRoot ) {
} }
} }
// Render the CustomerEffortScoreTracksContainer only if // Set up customer effort score survey.
// the feature flag is enabled. ( function () {
if ( const root = appRoot || embeddedRoot;
window.wcAdminFeatures && render(
window.wcAdminFeatures[ 'customer-effort-score-tracks' ] === true <CustomerEffortScoreTracksContainer />,
) { root.insertBefore( document.createElement( 'div' ), null )
// Set up customer effort score survey. );
( function () { } )();
const root = appRoot || embeddedRoot;
render(
<CustomerEffortScoreTracksContainer />,
root.insertBefore( document.createElement( 'div' ), null )
);
} )();
}

View File

@ -29,7 +29,6 @@ declare global {
'activity-panels': boolean; 'activity-panels': boolean;
analytics: boolean; analytics: boolean;
coupons: boolean; coupons: boolean;
'customer-effort-score-tracks': boolean;
homescreen: boolean; homescreen: boolean;
marketing: boolean; marketing: boolean;
'minified-js': boolean; 'minified-js': boolean;

View File

@ -6,7 +6,6 @@
"coupons": true, "coupons": true,
"core-profiler": true, "core-profiler": true,
"customize-store": true, "customize-store": true,
"customer-effort-score-tracks": true,
"import-products-task": true, "import-products-task": true,
"experimental-fashion-sample-products": true, "experimental-fashion-sample-products": true,
"shipping-smart-defaults": true, "shipping-smart-defaults": true,

View File

@ -6,7 +6,6 @@
"coupons": true, "coupons": true,
"core-profiler": true, "core-profiler": true,
"customize-store": true, "customize-store": true,
"customer-effort-score-tracks": true,
"import-products-task": true, "import-products-task": true,
"experimental-fashion-sample-products": true, "experimental-fashion-sample-products": true,
"shipping-smart-defaults": true, "shipping-smart-defaults": true,