From 93821288af6f90391df05696eda0faa8ed1932af Mon Sep 17 00:00:00 2001 From: Daniel Bachler Date: Tue, 5 Dec 2023 19:09:17 +0100 Subject: [PATCH] :bug: fix chart redirects race condition --- adminSiteClient/EditorReferencesTab.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/adminSiteClient/EditorReferencesTab.tsx b/adminSiteClient/EditorReferencesTab.tsx index 96e96901945..c515e71fe68 100644 --- a/adminSiteClient/EditorReferencesTab.tsx +++ b/adminSiteClient/EditorReferencesTab.tsx @@ -256,7 +256,12 @@ class AddRedirectForm extends React.Component<{ render() { return ( -
+ { + e.preventDefault() + this.onSubmit() + }} + >