Minor bugfix
This commit is contained in:
parent
7cd17cc8ca
commit
c2c736d6d5
|
@ -123,7 +123,7 @@ export default class Editor extends Component {
|
||||||
this.state.currentAnnotation.clone();
|
this.state.currentAnnotation.clone();
|
||||||
|
|
||||||
hasChanges = () =>
|
hasChanges = () =>
|
||||||
this.props.annotation?.isEqual(this.state.currentAnnotation);
|
!this.props.annotation?.isEqual(this.state.currentAnnotation);
|
||||||
|
|
||||||
/** Shorthand **/
|
/** Shorthand **/
|
||||||
updateCurrentAnnotation = (diff, saveImmediately) => this.setState({
|
updateCurrentAnnotation = (diff, saveImmediately) => this.setState({
|
||||||
|
|
Loading…
Reference in New Issue