mirror of
https://github.com/Unleash/unleash.git
synced 2025-06-04 01:18:20 +02:00
12 lines
378 B
JavaScript
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;
|