mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-04 08:47:23 +08:00
🐛 Add missing action dispatcher
This commit is contained in:
parent
605760f5fb
commit
7365f75eba
1 changed files with 8 additions and 0 deletions
|
@ -60,6 +60,14 @@ export const setPersistent = ( prop, value ) => ( {
|
|||
payload: { [ prop ]: value },
|
||||
} );
|
||||
|
||||
/**
|
||||
* Transient. Changes the "ready-state" of the module.
|
||||
*
|
||||
* @param {boolean} state Whether the store is ready to be used.
|
||||
* @return {Action} The action.
|
||||
*/
|
||||
export const setIsReady = ( state ) => setTransient( 'isReady', state );
|
||||
|
||||
/**
|
||||
* Side effect. Triggers the persistence of store data to the server.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue