Move useRegisteredChannels and useRecommendedChannels into shared hooks directory.

This commit is contained in:
Gan Eng Chin 2022-12-24 00:48:03 +08:00
parent 7bd32ba638
commit e950417542
No known key found for this signature in database
GPG Key ID: 94D5D972860ADB01
4 changed files with 6 additions and 2 deletions

View File

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

View File

@ -13,8 +13,10 @@ import {
CardHeaderDescription,
CenteredSpinner,
} from '~/marketing/components';
import { useRegisteredChannels } from './useRegisteredChannels';
import { useRecommendedChannels } from './useRecommendedChannels';
import {
useRegisteredChannels,
useRecommendedChannels,
} from '~/marketing/hooks';
import { InstalledChannelCardBody } from './InstalledChannelCardBody';
import { RecommendedChannels } from './RecommendedChannels';
import { RecommendedChannelsList } from './RecommendedChannelsList';