Move useNewCampaignTypes to shared hooks directory.

This commit is contained in:
Gan Eng Chin 2023-03-03 01:05:14 +08:00
parent 51a5a18448
commit e13112875b
No known key found for this signature in database
GPG Key ID: 94D5D972860ADB01
3 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,4 @@
export { useInstalledPlugins } from './useInstalledPlugins';
export { useRegisteredChannels } from './useRegisteredChannels';
export { useRecommendedChannels } from './useRecommendedChannels';
export { useNewCampaignTypes } from './useNewCampaignTypes';

View File

@ -18,9 +18,8 @@ import classnames from 'classnames';
/**
* Internal dependencies
*/
import { useRecommendedChannels } from '~/marketing/hooks';
import { useRecommendedChannels, useNewCampaignTypes } from '~/marketing/hooks';
import { SmartPluginCardBody } from '~/marketing/components';
import { useNewCampaignTypes } from './useNewCampaignTypes';
import './CreateNewCampaignModal.scss';
const isExternalURL = ( url: string ) =>