import React from 'react' import { analysisWithDefaultsSelector } from 'Selectors/analyseSelectors' import { connect } from 'react-redux' import './ComparativeTargets.css' import withColours from 'Components/utils/withColours' import { Link } from 'react-router-dom' import emoji from 'react-easy-emoji' import { compose } from 'ramda' import simulationConfig from './simulateur-rémunération-dirigeant.yaml' import AnimatedTargetValue from './AnimatedTargetValue' import PeriodSwitch from 'Components/PeriodSwitch' export default compose( connect(state => ({ analyses: analysisWithDefaultsSelector(state, simulationConfig) })), withColours )( class ComparativeTargets extends React.Component { render() { let { colours, analyses } = this.props return (