import React from 'react' import {connect} from 'react-redux' import TagNavigation from '../components/TagNavigation' import Variables from '../components/Variables' import * as actions from '../actions' import {bindActionCreators} from 'redux' import {tagsToSelectSelector, variablesSelector} from '../selectors/selectors' class Explorer extends React.Component { render() { let {variables, selectedTags, selectedVariable, tagsToSelect, actions: {selectTag, resetTags, selectVariable}} = this.props return (

Les prélèvements sociaux sur les salaires

) } } const mapStateToProps = state => ( { selectedTags: state.selectedTags, tagsToSelect: tagsToSelectSelector(state), variables: variablesSelector(state), selectedVariable: state.selectedVariable } ) const actionsToProps = dispatch => ({ actions: bindActionCreators(actions, dispatch) }) const VariableExplorer = connect(mapStateToProps, actionsToProps)(Explorer) export default VariableExplorer