restore original "edits" dict
This commit is contained in:
parent
6d38ce7d3f
commit
f4ca5ccd62
@ -247,9 +247,11 @@ const withCopyEdit: (wc: React.ComponentType<CategoryViewProps>) => DataContaine
|
||||
this.setState({error: err});
|
||||
}
|
||||
|
||||
this.setState({
|
||||
buildingEdits: {}
|
||||
});
|
||||
const edits = {
|
||||
[slug]: value
|
||||
};
|
||||
|
||||
this.doSubmit(edits);
|
||||
console.log(slug + " verify button clicked")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user