diff --git a/source/components/Results.js b/source/components/Results.js index a34c57296..80d186787 100644 --- a/source/components/Results.js +++ b/source/components/Results.js @@ -30,13 +30,12 @@ export default class Results extends Component { location } = this.props - - let explanation = R.has('root', analysedSituation) && clearDict() && getObjectives(situationGate, analysedSituation.root, analysedSituation.parsedRules), - hint = analysedSituation.root.simulateur && analysedSituation.root.simulateur.indice + let explanation = R.has('root', analysedSituation) && clearDict() && getObjectives(situationGate, analysedSituation.root, analysedSituation.parsedRules) if (!explanation) return null - let onRulePage = R.contains('/regle/')(location.pathname) + let onRulePage = R.contains('/regle/')(location.pathname), + hint = analysedSituation.root.simulateur && analysedSituation.root.simulateur.indice return (