From 6d38ce7d3fc790a8137a1b56fbe7638e924ac5c4 Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Mon, 23 May 2022 09:59:15 +0100 Subject: [PATCH] try setting state to buildingEdits: {} --- app/src/frontend/building/data-container.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/frontend/building/data-container.tsx b/app/src/frontend/building/data-container.tsx index e935f00a..d021aa94 100644 --- a/app/src/frontend/building/data-container.tsx +++ b/app/src/frontend/building/data-container.tsx @@ -247,7 +247,9 @@ const withCopyEdit: (wc: React.ComponentType) => DataContaine this.setState({error: err}); } - this.setState({reload: true}) + this.setState({ + buildingEdits: {} + }); console.log(slug + " verify button clicked") }