mirror of
https://github.com/Unleash/unleash.git
synced 2024-10-18 20:09:08 +02:00
15 lines
405 B
JavaScript
15 lines
405 B
JavaScript
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(),
|
|
});
|
|
|
|
export default connect(mapStateToProps, mapDispatchToProps)(ShowApiDetailsComponent);
|