restore original "edits" dict

This commit is contained in:
Ed Chalstrey 2022-05-23 10:17:34 +01:00
parent 6d38ce7d3f
commit f4ca5ccd62

View File

@ -247,9 +247,11 @@ const withCopyEdit: (wc: React.ComponentType<CategoryViewProps>) => DataContaine
this.setState({error: err}); this.setState({error: err});
} }
this.setState({ const edits = {
buildingEdits: {} [slug]: value
}); };
this.doSubmit(edits);
console.log(slug + " verify button clicked") console.log(slug + " verify button clicked")
} }