Skip to content

Commit

Permalink
Fix bbox update undo bug
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielrindlaub committed Jan 23, 2022
1 parent 54c3c1c commit ae7cb6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/review/undoMiddleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const undoMiddleware = createUndoMiddleware({
[bboxUpdated.toString()]: {
action: (action, { oldBbox }) => {
console.log("reverting bboxUpdated with action: ", action);
bboxUpdated({
return bboxUpdated({
imgId: action.payload.imgId,
objId: action.payload.objId,
bbox: oldBbox
Expand Down

0 comments on commit ae7cb6e

Please sign in to comment.