import { React, T } from 'Components' import PageFeedback from 'Components/Feedback/PageFeedback' import withTracker from 'Components/utils/withTracker' import { compose } from 'ramda' import { connect } from 'react-redux' import * as Animate from 'Ui/animate' import SalaryCompactExplanation from './SalaryCompactExplanation' import SalaryFirstExplanation from './SalaryFirstExplanation' export default compose( withTracker, connect(state => ({ conversationStarted: state.conversationStarted })) )( class SalaryExplanation extends React.Component { render() { return ( {!this.props.conversationStarted ? ( <> {this.props.protectionText} Êtes-vous satisfait de ce simulateur ? } customEventName="rate simulator" /> ) : ( <> Êtes-vous satisfait de ce simulateur ? } customEventName="rate simulator" /> )}
) } } )