diff --git a/source/components/conversation/Input.js b/source/components/conversation/Input.js index 6f70ac0d3..ba9262509 100644 --- a/source/components/conversation/Input.js +++ b/source/components/conversation/Input.js @@ -13,7 +13,7 @@ export default class Input extends Component { i18n: PropTypes.object.isRequired } state = { - lastValue: '' + suggestion: null } render() { let { @@ -81,20 +81,11 @@ export default class Input extends Component {
  • { - this.setState({ lastValue: null }) setFormValue('' + value) if (this.state.suggestion !== value) this.setState({ suggestion: value }) else this.props.submit('suggestion') }} - onMouseOver={() => { - this.setState({ lastValue: this.props.input.value }) - setFormValue('' + value) - }} - onMouseOut={() => - this.state.lastValue != null && - setFormValue('' + this.state.lastValue) - } style={{ color: themeColours.textColourOnWhite }}> {text}