Bump fuse.js treshold value

This commit is contained in:
Fedor Indutny 2022-04-27 13:09:54 -07:00 committed by GitHub
parent de0450efe7
commit b116c45375
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ import { parseAndFormatPhoneNumber } from './libphonenumberInstance';
const FUSE_OPTIONS: Fuse.IFuseOptions<ConversationType> = {
// A small-but-nonzero threshold lets us match parts of E164s better, and makes the
// search a little more forgiving.
threshold: 0.1,
threshold: 0.2,
useExtendedSearch: true,
keys: [
{