2017-12-21 14:32:51 -03:00
|
|
|
import { createSelector } from 'reselect';
|
2017-04-29 16:50:29 +07:00
|
|
|
|
2017-12-21 14:32:51 -03:00
|
|
|
const selectState = state => state.availability;
|
2017-04-29 16:50:29 +07:00
|
|
|
|
2017-12-21 14:32:51 -03:00
|
|
|
const selectFetchingAvailability = createSelector(selectState, state => state.fetching || {});
|
2017-04-29 16:50:29 +07:00
|
|
|
|
2017-12-21 14:32:51 -03:00
|
|
|
export { selectFetchingAvailability as default };
|