Skip to content

Commit

Permalink
fix(campaigns): remove placeholder Analytics admin page (#3729)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkoo authored Feb 13, 2025
1 parent 8bfcd7d commit abd1bc2
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 140 deletions.
8 changes: 1 addition & 7 deletions src/wizards/popups/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { stringify } from 'qs';
*/
import { WebPreview, withWizard } from '../../components/src';
import Router from '../../components/src/proxied-imports/router';
import { Campaigns, Analytics, Settings, Segments } from './views';
import { Campaigns, Settings, Segments } from './views';
import { CampaignsContext } from './contexts';

const { HashRouter, Redirect, Route, Switch } = Router;
Expand All @@ -40,11 +40,6 @@ const tabbedNavigation = [
path: '/segments',
exact: true,
},
{
label: __( 'Analytics', 'newpack-plugin' ),
path: '/analytics',
exact: true,
},
{
label: __( 'Settings', 'newpack-plugin' ),
path: '/settings',
Expand Down Expand Up @@ -366,7 +361,6 @@ class PopupsWizard extends Component {
/>
) }
/>
<Route path="/analytics" render={ () => <Analytics { ...sharedProps } /> } />
<Route path="/settings" render={ () => <Settings { ...sharedProps } /> } />
<Redirect to="/campaigns" />
</Switch>
Expand Down
45 changes: 0 additions & 45 deletions src/wizards/popups/views/analytics/index.js

This file was deleted.

87 changes: 0 additions & 87 deletions src/wizards/popups/views/analytics/style.scss

This file was deleted.

1 change: 0 additions & 1 deletion src/wizards/popups/views/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export { default as Campaigns } from './campaigns';
export { default as Analytics } from './analytics';
export { default as Settings } from './settings';
export { default as Segments } from './segments';

0 comments on commit abd1bc2

Please sign in to comment.