main
Mike Fix 6 years ago committed by Michael Fix
parent 6f1f2a1cf1
commit 1c1b1cb2f9

@ -98,7 +98,9 @@ class Editor extends React.Component {
updateState = updates => {
this.setState(updates, () => {
!this.gist && this.props.onUpdate(this.state)
if (!this.gist) {
this.props.onUpdate(this.state)
}
})
}

Loading…
Cancel
Save