try setting state to reload

This commit is contained in:
Ed Chalstrey 2022-05-23 09:43:25 +01:00
parent 2801782151
commit 97219998b9

View File

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