mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 14:57:26 +08:00
🐛 Fix the disconnect Redux action
This commit is contained in:
parent
4b83d588ec
commit
364c1b55c5
2 changed files with 4 additions and 4 deletions
|
@ -217,8 +217,8 @@ export const authenticateWithOAuth = function* (
|
|||
*
|
||||
* @return {Action} The action.
|
||||
*/
|
||||
export const disconnectMerchant = function () {
|
||||
return { type: ACTION_TYPES.DO_DISCONNECT_MERCHANT };
|
||||
export const disconnectMerchant = function* () {
|
||||
return yield { type: ACTION_TYPES.DO_DISCONNECT_MERCHANT };
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue