Merged in release/release-1.09 (pull request #10)
Release/release 1.09 * Install missing plugins * rs set to 1 * rebase pantheon for aws * rebase pantheon for aws * prod config change * prod config change * fix campaing issue * revert Approved-by: Jay Sharma
This commit is contained in:
committed by
Jay Sharma
parent
779393381f
commit
22f10a9edd
@@ -3,7 +3,11 @@
|
||||
*/
|
||||
import { __ } from '@wordpress/i18n';
|
||||
import { addAction } from '@wordpress/hooks';
|
||||
import type { ProductResponseItem, CartResponseItem } from '@woocommerce/types';
|
||||
import type {
|
||||
ProductResponseItem,
|
||||
CartResponseItem,
|
||||
StoreCart,
|
||||
} from '@woocommerce/types';
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
@@ -48,6 +52,13 @@ addAction(
|
||||
namespace,
|
||||
trackCheckoutStep( 3 )
|
||||
);
|
||||
addAction(
|
||||
`${ actionPrefix }-checkout-set-phone-number`,
|
||||
namespace,
|
||||
( { step, ...rest }: { step: string; storeCart: StoreCart } ): void => {
|
||||
trackCheckoutStep( step === 'shipping' ? 2 : 3 )( rest );
|
||||
}
|
||||
);
|
||||
|
||||
/**
|
||||
* Choose a shipping rate
|
||||
|
||||
Reference in New Issue
Block a user