mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 09:08:09 +08:00
♻️ Update outdated action names
This commit is contained in:
parent
618288529f
commit
80bbf51220
1 changed files with 3 additions and 3 deletions
|
@ -53,7 +53,7 @@ export const setIsSaving = ( isSaving ) => ( {
|
|||
* @param {boolean} isBusy
|
||||
* @return {Action} The action.
|
||||
*/
|
||||
export const setManualConnectionIsBusy = ( isBusy ) => ( {
|
||||
export const setIsBusy = ( isBusy ) => ( {
|
||||
type: ACTION_TYPES.SET_TRANSIENT,
|
||||
payload: { isBusy },
|
||||
} );
|
||||
|
@ -179,7 +179,7 @@ export const connectViaIdAndSecret = function* () {
|
|||
const { clientId, clientSecret, useSandbox } =
|
||||
yield select( STORE_NAME ).persistentData();
|
||||
|
||||
yield setManualConnectionIsBusy( true );
|
||||
yield setIsBusy( true );
|
||||
|
||||
const result = yield {
|
||||
type: ACTION_TYPES.DO_MANUAL_CONNECTION,
|
||||
|
@ -187,7 +187,7 @@ export const connectViaIdAndSecret = function* () {
|
|||
clientSecret,
|
||||
useSandbox,
|
||||
};
|
||||
yield setManualConnectionIsBusy( false );
|
||||
yield setIsBusy( false );
|
||||
|
||||
return result;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue