mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
🔥 Minor cleanup
This commit is contained in:
parent
95fef43e77
commit
fe1ba2875e
3 changed files with 0 additions and 5 deletions
|
@ -12,7 +12,4 @@ export default {
|
|||
SET_PERSISTENT: 'ppcp/paylater/SET_PERSISTENT',
|
||||
RESET: 'ppcp/paylater/RESET',
|
||||
HYDRATE: 'ppcp/paylater/HYDRATE',
|
||||
|
||||
// Controls - always start with "DO_".
|
||||
DO_PERSIST_DATA: 'ppcp/paylater/DO_PERSIST_DATA',
|
||||
};
|
||||
|
|
|
@ -24,7 +24,6 @@ export function persistentData() {
|
|||
await dispatch.hydrate( result );
|
||||
await dispatch.setIsReady( true );
|
||||
} catch ( e ) {
|
||||
// TODO: Add the module name to the error message.
|
||||
await registry
|
||||
.dispatch( 'core/notices' )
|
||||
.createErrorNotice(
|
||||
|
|
|
@ -24,7 +24,6 @@ export function persistentData() {
|
|||
await dispatch.hydrate( result );
|
||||
await dispatch.setIsReady( true );
|
||||
} catch ( e ) {
|
||||
// TODO: Add the module name to the error message.
|
||||
await registry
|
||||
.dispatch( 'core/notices' )
|
||||
.createErrorNotice(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue