import React, { Component } from 'react' import { Trans } from 'react-i18next' import { connect } from 'react-redux' import { nextStepsSelector } from 'Selectors/analyseSelectors' import './ProgressTip.css' export default connect(state => ({ nextSteps: nextStepsSelector(state) }))( class ProgressTip extends Component { render() { let { nextSteps } = this.props, nbQuestions = nextSteps.length if (nbQuestions === 0) return null return (
{nbQuestions === 1 ? (