Fix MessageComposerInput.setLastTextEntry

pull/21833/head
Aviral Dasgupta 2016-06-10 00:03:40 +05:30
parent 29cdd1fc41
commit 4e0720db12
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ export default class MessageComposerInput extends React.Component {
console.error(contentHTML);
if (contentHTML) {
const content = HTMLtoContentState(contentHTML);
component.setState({editorState: EditorState.createWithContent(content, getScopedDecorator(this.props))});
component.setState({editorState: EditorState.createWithContent(content, getScopedDecorator(component.props))});
component.resizeInput();
}
}