[infrance] 🐛 le simulateur s'affiche dans la bonne langue
parent
a39f54e40c
commit
9783df3b72
|
@ -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
|
||||
|
|
|
@ -5,8 +5,6 @@ export class ScrollToTop extends Component {
|
|||
behavior: 'auto'
|
||||
}
|
||||
componentDidMount() {
|
||||
console.log('scrollToTop')
|
||||
|
||||
window.scroll({
|
||||
top: 0,
|
||||
behavior: this.props.behavior
|
||||
|
|
Loading…
Reference in New Issue