Skip to content

Commit

Permalink
wording changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Timur Karimov committed Apr 15, 2024
1 parent 31ca18d commit 82a59a6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions client/payment-methods/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ const PaymentMethods = () => {
const [ , updateUnselectedPaymentMethod ] = useUnselectedPaymentMethod();

const [
skippedDuplicatedMethodNotices,
setSkippedDuplicatedMethodNotices,
dismissedDuplicateNotices,
setDismissedDuplicateNotices,
] = useState( wcpaySettings.dismissedDuplicateNotices || [] );
const handleAddSkipppedDuplicatedMethodNotice = ( skippedNotices ) => {
setSkippedDuplicatedMethodNotices( skippedNotices );
const handleSetDismissedDuplicateNotices = ( skippedNotices ) => {
setDismissedDuplicateNotices( skippedNotices );
};

const completeDeleteAction = ( itemId ) => {
Expand Down Expand Up @@ -232,10 +232,10 @@ const PaymentMethods = () => {
duplicatedPaymentMethodIds
}
dismissedDuplicateNotices={
skippedDuplicatedMethodNotices
dismissedDuplicateNotices
}
setDismissedDuplicateNotices={
handleAddSkipppedDuplicatedMethodNotice
handleSetDismissedDuplicateNotices
}
/>
);
Expand Down

0 comments on commit 82a59a6

Please sign in to comment.