ee9f63a161
bugfix wip flow fix cleaning clean
17 lines
517 B
JavaScript
17 lines
517 B
JavaScript
import { createSelector } from 'reselect';
|
|
|
|
const selectState = state => state.homepage || {};
|
|
|
|
export const selectFeaturedUris = createSelector(selectState, state => state.featuredUris);
|
|
|
|
export const selectFetchingFeaturedUris = createSelector(
|
|
selectState,
|
|
state => state.fetchingFeaturedContent
|
|
);
|
|
|
|
export const selectTrendingUris = createSelector(selectState, state => state.trendingUris);
|
|
|
|
export const selectFetchingTrendingUris = createSelector(
|
|
selectState,
|
|
state => state.fetchingTrendingContent
|
|
);
|