From 97219998b9ec9776d84d958874bdfdeeefa3402b Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Mon, 23 May 2022 09:43:25 +0100 Subject: [PATCH] try setting state to reload --- app/src/frontend/building/data-container.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/src/frontend/building/data-container.tsx b/app/src/frontend/building/data-container.tsx index 3e5b45f8..e935f00a 100644 --- a/app/src/frontend/building/data-container.tsx +++ b/app/src/frontend/building/data-container.tsx @@ -247,11 +247,7 @@ const withCopyEdit: (wc: React.ComponentType) => DataContaine this.setState({error: err}); } - const edits = { - [slug]: value - }; - - this.doSubmit(edits); + this.setState({reload: true}) console.log(slug + " verify button clicked") }