Fix MessageComposerInput.setLastTextEntry
This commit is contained in:
parent
29cdd1fc41
commit
4e0720db12
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue