Open a new link and close wizard

[MAILPOET-2142]
This commit is contained in:
Pavel Dohnal
2019-09-16 13:44:45 +02:00
committed by Jack Kitterhing
parent 9d2f7c1246
commit daabe385c6

View File

@@ -28,6 +28,10 @@ const Controlls = (props) => (
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
className="button button-primary" className="button button-primary"
onClick={() => {
window.open(props.mailpoetAccountUrl);
props.next();
}}
> >
{props.nextButtonText} {props.nextButtonText}
</a> </a>