import containerConnect from 'Framework/ComponentContainer';

const mapStateToProps = ({ api, ui }) => ({
    show: api.isFetching && (!ui.visibilityMap.optionlist || ui.visibilityMap.optionDetails),
});

const mapDispatchToProps = () => ({});

export default containerConnect(mapStateToProps, mapDispatchToProps);
