Skip to content

Commit

Permalink
[diff] fix incorrect diffobject value
Browse files Browse the repository at this point in the history
  • Loading branch information
vicmeow authored and rexxars committed Oct 6, 2020
1 parent cf75e62 commit 8e7f611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@sanity/diff/src/calculate/diffObject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function diffObject<A>(
fields[key] = fieldDiff
if (fieldDiff.isChanged) isChanged = true
} else {
fields[key] = removedInput(fromInput, undefined, options)
fields[key] = removedInput(fromField, undefined, options)
isChanged = true
}
}
Expand Down

0 comments on commit 8e7f611

Please sign in to comment.