Remove unused properties from store select
This commit is contained in:
parent
080cdbeac2
commit
37d6802252
|
@ -62,8 +62,6 @@ export const PaymentMethodDataProvider = ( {
|
|||
|
||||
return {
|
||||
currentStatus: store.getCurrentStatus(),
|
||||
activeSavedPaymentMethods: store.getActiveSavedPaymentMethods(),
|
||||
paymentMethodsInitialized: store.paymentMethodsInitialized(),
|
||||
};
|
||||
} );
|
||||
|
||||
|
|
|
@ -43,7 +43,6 @@ export const emitProcessingEvent: emitProcessingEventType = (
|
|||
currentObserver,
|
||||
setValidationErrors
|
||||
) => {
|
||||
// TODO: Fix this type after we move to validation store
|
||||
return ( { dispatch, registry } ) => {
|
||||
const { createErrorNotice, removeNotice } =
|
||||
registry.dispatch( 'core/notices' );
|
||||
|
|
Loading…
Reference in New Issue