Skip to content

Commit

Permalink
fix: in send flow, adding space at end of ENS address caused crash (#…
Browse files Browse the repository at this point in the history
…9720)

<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

## **Description**
fix: in send flow, adding space at end of ENS address caused crash)his
is now fixed
<!--
Write a short description of the changes included in this pull request,
also include relevant motivation and context. Have in mind the following
questions:
1. What is the reason for the change?
2. What is the improvement/solution?
-->

## **Related issues**

Fixes:

## **Manual testing steps**

1. Go to this page...
2.
3.

## **Screenshots/Recordings**

### **Before**

<!-- [screenshots/recordings] -->



https://github.com/MetaMask/metamask-mobile/assets/165834542/159800bc-1256-4d4a-b950-3683c187d5b3


### **After**


https://github.com/MetaMask/metamask-mobile/assets/165834542/bd4b9845-b688-4bc2-85f6-b2d058e78602


<!-- [screenshots/recordings] -->

## **Pre-merge author checklist**

- [x] I’ve followed [MetaMask Coding
Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've completed the PR template to the best of my ability
- [x] I’ve included tests if applicable
- [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

## **Pre-merge reviewer checklist**

- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
  • Loading branch information
EtherWizard33 authored May 22, 2024
1 parent 557499a commit 7384299
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const AddressList: React.FC<AddressListProps> = ({
}, [networkAddressBook, parseAddressBook]);

const getNetworkAddressBookList = useCallback(() => {
if (inputSearch) {
if (inputSearch && fuse) {
return fuse.search(inputSearch);
}

Expand Down

0 comments on commit 7384299

Please sign in to comment.