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
commit 8bd93a7c4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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_');
}