Fix MessageComposerInput.setLastTextEntry

This commit is contained in:
Aviral Dasgupta 2016-06-10 00:03:40 +05:30
parent 29cdd1fc41
commit 4e0720db12

View file

@ -150,7 +150,7 @@ export default class MessageComposerInput extends React.Component {
console.error(contentHTML); console.error(contentHTML);
if (contentHTML) { if (contentHTML) {
const content = HTMLtoContentState(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(); component.resizeInput();
} }
} }