We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecf5ef9 commit 4091f87Copy full SHA for 4091f87
src/formReducer.js
@@ -50,7 +50,9 @@ class FormReducer extends ImmerReducer {
50
}
51
resetVerifiedWarnings(index) {
52
this.draftState.verifiedAgainstStored[index] = undefined;
53
- this.draftState.lemmas[index].id = null;
+ if (this.draftState.lemmas[index]) {
54
+ this.draftState.lemmas[index].id = null;
55
+ }
56
57
setUpdatedWarning(index, keys) {
58
this.draftState.updatedFromStored[index] = keys.reduce((obj, key) => {
0 commit comments