Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
rsimon committed Mar 12, 2021
1 parent 37ca210 commit 7e7f9fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editor/Editor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const Editor = props => {
};

const onCancel = () =>
props.onCancel(currentAnnotation);
props.onCancel(props.annotation);

const onOk = _ => {
// Removes the state payload from all bodies
Expand Down

0 comments on commit 7e7f9fd

Please sign in to comment.