1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/frontend/src/component/api/show-api-details-container.jsx

15 lines
405 B
React
Raw Normal View History

2017-11-24 08:41:36 +01:00
import { connect } from 'react-redux';
import ShowApiDetailsComponent from './show-api-details-component';
import { fetchAll } from '../../store/api/actions';
const mapDispatchToProps = {
fetchAll,
};
const mapStateToProps = state => ({
apiDetails: state.api.toJS(),
uiConfig: state.uiConfig.toJS(),
2017-11-24 08:41:36 +01:00
});
2020-04-18 22:06:49 +02:00
export default connect(mapStateToProps, mapDispatchToProps)(ShowApiDetailsComponent);