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