mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 10:55:00 +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 },
|
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.
|
* Side effect. Triggers the persistence of store data to the server.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue