2017-12-21 18:32:51 +01:00
|
|
|
import { createSelector } from 'reselect';
|
2017-04-29 11:50:29 +02:00
|
|
|
|
2017-12-21 18:32:51 +01:00
|
|
|
const selectState = state => state.availability;
|
2017-04-29 11:50:29 +02:00
|
|
|
|
2019-03-05 05:46:57 +01:00
|
|
|
const selectFetchingAvailability = createSelector(
|
|
|
|
selectState,
|
|
|
|
state => state.fetching || {}
|
|
|
|
);
|
2017-04-29 11:50:29 +02:00
|
|
|
|
2017-12-21 18:32:51 +01:00
|
|
|
export { selectFetchingAvailability as default };
|