Remove unused properties from store select

This commit is contained in:
Alex Florisca 2022-09-01 14:09:29 +01:00
parent 080cdbeac2
commit 37d6802252
2 changed files with 0 additions and 3 deletions

View File

@ -62,8 +62,6 @@ export const PaymentMethodDataProvider = ( {
return {
currentStatus: store.getCurrentStatus(),
activeSavedPaymentMethods: store.getActiveSavedPaymentMethods(),
paymentMethodsInitialized: store.paymentMethodsInitialized(),
};
} );

View File

@ -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' );