Skip to content

Commit

Permalink
Add reset to lastSelectedAddress in the onCancelHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelzaleski committed Dec 16, 2024
1 parent f68ea83 commit b5a0e47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/express-checkout/event-handlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,5 +190,6 @@ export const onCancelHandler = () => {
updateShortcodeShippingUI( lastSelectedAddress );
}

lastSelectedAddress = null;
unblockUI();
};

0 comments on commit b5a0e47

Please sign in to comment.