Redirect to the create subscription product step after installing WC Payments

This is a temporary measure to be enable testing the full flow whilst we
work on setting up the experiment.
This commit is contained in:
James Allan 2022-05-10 15:50:47 +10:00
parent fc55f14fdd
commit 692cdd3607
1 changed files with 1 additions and 2 deletions

View File

@ -125,8 +125,7 @@ const GetStartedButton: React.FC< GetStartedButtonProps > = ( {
* Navigate to either newSubscriptionProductUrl or onboardingUrl
* depending on the which treatment the user is assigned to.
*/
// eslint-disable-next-line no-console
console.log( 'It was a success!' );
window.location.href = newSubscriptionProductUrl;
} )
.catch( () => {
setIsGettingStarted( false );