Merge pull request #2151 from matrix-org/dopr.sh

s/DidMount/WillMount/ in MessageComposerInput
This commit is contained in:
Bruno Windels
2018-09-06 14:53:44 +02:00
committed by GitHub

View File

@@ -336,7 +336,7 @@ export default class MessageComposerInput extends React.Component {
}
}
componentDidMount() {
componentWillMount() {
this.dispatcherRef = dis.register(this.onAction);
this.historyManager = new ComposerHistoryManager(this.props.room.roomId, 'mx_slate_composer_history_');
}