import React from 'react' import { connect } from 'react-redux' import { isEmpty, compose, chain, uniqBy } from 'ramda' import Answers from 'Components/AnswerList' import Conversation from 'Components/conversation/Conversation' import withColours from 'Components/utils/withColours' import ComparativeTargets from 'Components/ComparativeTargets' import './ComparativeSimulation.css' import { nextStepsSelector, analysisWithDefaultsSelector } from 'Selectors/analyseSelectors' import simulationConfig from './simulateur-rémunération-dirigeant.yaml' import { createMarkdownDiv } from 'Engine/marked' export default compose( withColours, connect(state => ({ previousAnswers: state.conversationSteps.foldedSteps, noNextSteps: nextStepsSelector(state, simulationConfig).length == 0, analyses: analysisWithDefaultsSelector(state, simulationConfig) })) )( class extends React.Component { state = { displayAnswers: false } render() { let { colours, noNextSteps, previousAnswers, analyses } = this.props return (
Vous avez atteint l'estimation la plus précise.
> )}