2022-12-08 15:53:36 +00:00
|
|
|
export const useRegisteredChannels = () => {
|
|
|
|
// TODO: call API here to get data.
|
|
|
|
// The following are just dummy data for testing now.
|
|
|
|
return {
|
|
|
|
loading: false,
|
|
|
|
data: [
|
|
|
|
{
|
2022-12-09 18:28:13 +00:00
|
|
|
slug: 'google-listings-and-ads',
|
2022-12-08 15:53:36 +00:00
|
|
|
name: 'Google Listings and Ads',
|
2022-12-09 18:28:13 +00:00
|
|
|
title: 'Google Listings and Ads',
|
2022-12-08 15:53:36 +00:00
|
|
|
description:
|
|
|
|
'Get in front of shoppers and drive traffic so you can grow your business with Smart Shopping Campaigns and free listings.',
|
|
|
|
icon: 'https://woocommerce.com/wp-content/plugins/wccom-plugins/marketing-tab-rest-api/icons/google.svg',
|
|
|
|
isSetupCompleted: true,
|
|
|
|
setupUrl: 'www.google.com/setup',
|
|
|
|
manageUrl: 'www.google.com/manage',
|
2022-12-09 18:28:13 +00:00
|
|
|
syncStatus: 'synced' as const,
|
|
|
|
issueType: 'none' as const,
|
|
|
|
issueText: '',
|
2022-12-08 15:53:36 +00:00
|
|
|
},
|
|
|
|
],
|
|
|
|
};
|
|
|
|
};
|