woocommerce/plugins/woocommerce-admin/client/marketing/data-multichannel/selectors.ts

17 lines
341 B
TypeScript
Raw Normal View History

/**
* Internal dependencies
*/
import { State } from './types';
export const getRegisteredChannels = ( state: State ) => {
return state.registeredChannels;
};
2023-01-19 11:33:51 +00:00
export const getRecommendedChannels = ( state: State ) => {
return state.recommendedChannels;
};
export const getCampaigns = ( state: State ) => {
return state.campaigns;
};