Always use MarketingOverviewMultichannel for marketing page.

This commit is contained in:
Gan Eng Chin 2023-03-23 23:19:34 +08:00
parent 189460417c
commit 4f7705f691
No known key found for this signature in database
GPG Key ID: 94D5D972860ADB01
1 changed files with 1 additions and 8 deletions

View File

@ -51,11 +51,6 @@ const Dashboard = lazy( () =>
const Homescreen = lazy( () =>
import( /* webpackChunkName: "homescreen" */ '../homescreen' )
);
const MarketingOverview = lazy( () =>
import(
/* webpackChunkName: "marketing-overview" */ '../marketing/overview'
)
);
const MarketingOverviewMultichannel = lazy( () =>
import(
/* webpackChunkName: "multichannel-marketing" */ '../marketing/overview-multichannel'
@ -157,9 +152,7 @@ export const getPages = () => {
if ( window.wcAdminFeatures.marketing ) {
pages.push( {
container: window.wcAdminFeatures[ 'multichannel-marketing' ]
? MarketingOverviewMultichannel
: MarketingOverview,
container: MarketingOverviewMultichannel,
path: '/marketing',
breadcrumbs: [
...initialBreadcrumbs,