Skip to content

Commit 8288ac7

Browse files
committed
bids: fix fuzzy search threshold
1 parent 9904307 commit 8288ac7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/pages/YourBids/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,10 @@ class YourBids extends Component {
210210
if (!this.fuse) {
211211
this.fuse = new Fuse(yourBids, {
212212
keys: ['name'],
213+
threshold: .4,
213214
});
214215
}
216+
215217
const bids = query ? this.fuse.search(query) : yourBids;
216218

217219
if (!bids.length) {

0 commit comments

Comments
 (0)