mirror of
https://github.com/Unleash/unleash.git
synced 2024-10-23 20:07:40 +02:00
10 lines
357 B
JavaScript
10 lines
357 B
JavaScript
import { connect } from 'react-redux';
|
|
import ApplicationList from './application-list-component';
|
|
import { fetchAll } from '../../store/application/actions';
|
|
|
|
const mapStateToProps = (state) => ({ applications: state.applications.get('list').toJS() });
|
|
|
|
const Container = connect(mapStateToProps, { fetchAll })(ApplicationList);
|
|
|
|
export default Container;
|