[infrance] 🐛 le simulateur s'affiche dans la bonne langue

pull/294/head
Johan Girod 2018-08-06 13:50:39 +02:00
parent a39f54e40c
commit 9783df3b72
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,7 @@
import { startConversation } from 'Actions/actions'
import Scroll from 'Components/utils/Scroll'
import withColours from 'Components/utils/withColours'
import withLanguage from 'Components/utils/withLanguage'
import React, { Component } from 'react'
import { Trans, translate } from 'react-i18next'
import { connect } from 'react-redux'
@ -35,6 +36,7 @@ import TargetSelection from './TargetSelection'
startConversation
}
)
@withLanguage
export default class Simu extends Component {
state = {
displayPreviousAnswers: false

View File

@ -5,8 +5,6 @@ export class ScrollToTop extends Component {
behavior: 'auto'
}
componentDidMount() {
console.log('scrollToTop')
window.scroll({
top: 0,
behavior: this.props.behavior