Dont merge on github

This commit is contained in:
Tom Moor
2017-10-24 08:49:33 -07:00
parent 4f7e5b8122
commit 8a3b4429d4

View File

@ -73,9 +73,9 @@ type KeyData = {
}
}
onChange = (state: State) => {
if (this.editorState !== state) {
this.props.onChange(Markdown.serialize(state));
onChange = (editorState: State) => {
if (this.editorState !== editorState) {
this.props.onChange(Markdown.serialize(editorState));
}
this.editorState = editorState;