diff --git a/app/src/frontend/building/data-container.tsx b/app/src/frontend/building/data-container.tsx index d021aa94..3e5b45f8 100644 --- a/app/src/frontend/building/data-container.tsx +++ b/app/src/frontend/building/data-container.tsx @@ -247,9 +247,11 @@ const withCopyEdit: (wc: React.ComponentType) => DataContaine this.setState({error: err}); } - this.setState({ - buildingEdits: {} - }); + const edits = { + [slug]: value + }; + + this.doSubmit(edits); console.log(slug + " verify button clicked") }