Prevent default on link to make sure
[MAILPOET-2142]
This commit is contained in:
committed by
Jack Kitterhing
parent
4154d0b928
commit
30c67f59c0
@ -28,7 +28,8 @@ const Controlls = (props) => (
|
|||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
className="button button-primary"
|
className="button button-primary"
|
||||||
onClick={() => {
|
onClick={(event) => {
|
||||||
|
event.preventDefault();
|
||||||
window.open(props.mailpoetAccountUrl);
|
window.open(props.mailpoetAccountUrl);
|
||||||
props.next();
|
props.next();
|
||||||
}}
|
}}
|
||||||
|
Reference in New Issue
Block a user