Skip to content

Commit

Permalink
Merge pull request #2994 from owid/fix-redirects-refresh
Browse files Browse the repository at this point in the history
🐛 fix chart redirects race condition
  • Loading branch information
danyx23 authored Dec 5, 2023
2 parents a65b084 + 9382128 commit b0491ba
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion adminSiteClient/EditorReferencesTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,12 @@ class AddRedirectForm extends React.Component<{

render() {
return (
<form onSubmit={this.onSubmit}>
<form
onSubmit={(e) => {
e.preventDefault()
this.onSubmit()
}}
>
<div className="input-group mb-3">
<div className="input-group-prepend">
<span className="input-group-text" id="basic-addon3">
Expand Down

0 comments on commit b0491ba

Please sign in to comment.