1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Fixing account search results ordering (#11097)

Removing 'shouldSort: false' from fuse.js' options config

Fixes MetaMask/metamask-extension#10991
This commit is contained in:
ryanml 2021-05-14 11:38:56 -07:00 committed by GitHub
parent 7acb33c976
commit 9236d3132a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,6 @@ export default class AccountMenu extends Component {
}; };
addressFuse = new Fuse([], { addressFuse = new Fuse([], {
shouldSort: false,
threshold: 0.45, threshold: 0.45,
location: 0, location: 0,
distance: 100, distance: 100,