Skip to content

Commit

Permalink
Fix MessageComposerInput.setLastTextEntry
Browse files Browse the repository at this point in the history
  • Loading branch information
aviraldg committed Jun 9, 2016
1 parent 29cdd1f commit 4e0720d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/views/rooms/MessageComposerInput.js
Expand Up @@ -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();
}
}
Expand Down

0 comments on commit 4e0720d

Please sign in to comment.