Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Remove unused properties from store select
Browse files Browse the repository at this point in the history
  • Loading branch information
alexflorisca committed Sep 1, 2022
1 parent 58b791e commit afeb55a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ export const PaymentMethodDataProvider = ( {

return {
currentStatus: store.getCurrentStatus(),
activeSavedPaymentMethods: store.getActiveSavedPaymentMethods(),
paymentMethodsInitialized: store.paymentMethodsInitialized(),
};
} );

Expand Down
1 change: 0 additions & 1 deletion assets/js/data/payment-methods/thunks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' );
Expand Down

0 comments on commit afeb55a

Please sign in to comment.