Always use MarketingOverviewMultichannel for marketing page.
This commit is contained in:
parent
189460417c
commit
4f7705f691
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue