metamask-extension icon indicating copy to clipboard operation
metamask-extension copied to clipboard

fix possible race condition

Open brad-decker opened this issue 2 years ago • 0 comments

Explanation

There is no reason to use the async action creator updateRecipientUserInput and updateRecipient because they do a lot of extras that will never be necessary when evaluating a null input. This hopefully bypasses delays in clearing input.

More Information

Screenshots/Screencaps

Before

After

Manual Testing Steps

Pre-Merge Checklist

  • [ ] PR template is filled out
  • [ ] IF this PR fixes a bug, a test that would have caught the bug has been added
  • [ ] PR is linked to the appropriate GitHub issue
  • [ ] PR has been added to the appropriate release Milestone

+ If there are functional changes:

  • [ ] Manual testing complete & passed
  • [ ] "Extension QA Board" label has been applied

brad-decker avatar Aug 04 '22 16:08 brad-decker