diff --git a/source/components/Simu.css b/source/components/Simu.css index 91ad5963d..069eeca32 100644 --- a/source/components/Simu.css +++ b/source/components/Simu.css @@ -5,3 +5,7 @@ .change-answer-link { text-align: center; } + +#updateMessage a::after { + display: none +} diff --git a/source/components/Simu.js b/source/components/Simu.js index 283f493c6..01b0df7e6 100644 --- a/source/components/Simu.js +++ b/source/components/Simu.js @@ -4,7 +4,7 @@ import { ScrollToTop } from 'Components/utils/Scroll' import withColours from 'Components/utils/withColours' import withLanguage from 'Components/utils/withLanguage' import { compose } from 'ramda' -import React, { Component } from 'react' +import {React, Component, T} from 'Components' import { Trans, withNamespaces } from 'react-i18next' import { connect } from 'react-redux' import { Redirect, withRouter } from 'react-router' @@ -28,6 +28,7 @@ import ResultView from './ResultView' import './Simu.css' import TargetSelection from './TargetSelection' import { formValueSelector } from 'redux-form' +import emoji from 'react-easy-emoji' export default compose( withRouter, @@ -40,7 +41,7 @@ export default compose( validInputEntered: validInputEnteredSelector(state), arePreviousAnswers: state.conversationSteps.foldedSteps.length !== 0, nextSteps: state.conversationStarted && nextStepsSelector(state), - userInput: noUserInputSelector(state), + noUserInput: noUserInputSelector(state), period: formValueSelector('conversation')(state, 'période') }), { @@ -65,7 +66,8 @@ export default compose( match, validInputEntered, location, - period + period, + noUserInput } = this.props const displayConversation = conversationStarted && !blockingInputControls const simulationCompleted = @@ -79,6 +81,8 @@ export default compose( return ( <>
{emoji('🌟')}