1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-06-04 01:18:20 +02:00
unleash.unleash/frontend/src/component/feature/form/strategies-section-container.jsx
2018-02-16 20:45:05 +01:00

12 lines
378 B
JavaScript

import { connect } from 'react-redux';
import StrategiesSectionComponent from './strategies-section';
import { fetchStrategies } from '../../../store/strategy/actions';
const StrategiesSection = connect(
state => ({
strategies: state.strategies.get('list').toArray(),
}),
{ fetchStrategies }
)(StrategiesSectionComponent);
export default StrategiesSection;