mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-07 19:54:15 +08:00
Refactor the Overview tab > Features > Buttons
This commit is contained in:
parent
7a223de4a7
commit
e4e95de5f6
15 changed files with 602 additions and 239 deletions
|
@ -47,6 +47,17 @@ export const setIsReady = ( isReady ) => ( {
|
|||
payload: { isReady },
|
||||
} );
|
||||
|
||||
/**
|
||||
* Transient. Sets the active settings tab.
|
||||
*
|
||||
* @param {string} activeModal
|
||||
* @return {Action} The action.
|
||||
*/
|
||||
export const setActiveModal = ( activeModal ) => ( {
|
||||
type: ACTION_TYPES.SET_TRANSIENT,
|
||||
payload: { activeModal },
|
||||
} );
|
||||
|
||||
/**
|
||||
* Transient. Changes the "saving" flag.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue