diff --git a/source/components/Simu.js b/source/components/Simu.js index 5cc6f8ed7..8a434e763 100644 --- a/source/components/Simu.js +++ b/source/components/Simu.js @@ -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 diff --git a/source/components/utils/Scroll.js b/source/components/utils/Scroll.js index 8049150d9..ddbe5840e 100644 --- a/source/components/utils/Scroll.js +++ b/source/components/utils/Scroll.js @@ -5,8 +5,6 @@ export class ScrollToTop extends Component { behavior: 'auto' } componentDidMount() { - console.log('scrollToTop') - window.scroll({ top: 0, behavior: this.props.behavior