Move CreateNewCampaignModal to shared components folder.

This commit is contained in:
Gan Eng Chin 2023-03-08 00:34:09 +08:00
parent 7c9eedbbb4
commit a9b696d28c
No known key found for this signature in database
GPG Key ID: 94D5D972860ADB01
6 changed files with 5 additions and 2 deletions

View File

@ -8,3 +8,4 @@ export { PluginCardBody, SmartPluginCardBody } from './PluginCardBody';
export { CardHeaderTitle } from './CardHeaderTitle';
export { CardHeaderDescription } from './CardHeaderDescription';
export { CenteredSpinner } from './CenteredSpinner';
export { CreateNewCampaignModal } from './CreateNewCampaignModal';

View File

@ -24,10 +24,12 @@ import {
/**
* Internal dependencies
*/
import { CardHeaderTitle } from '~/marketing/components';
import {
CardHeaderTitle,
CreateNewCampaignModal,
} from '~/marketing/components';
import { useNewCampaignTypes } from '~/marketing/hooks';
import { useCampaigns } from './useCampaigns';
import { CreateNewCampaignModal } from './CreateNewCampaignModal';
import './Campaigns.scss';
const tableCaption = __( 'Campaigns', 'woocommerce' );