Skip to content

Commit

Permalink
better fuse option for React reference app
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Jan 9, 2024
1 parent cdda454 commit 4f05157
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ var _React = React,
var fuse_options = {
includeScore: true,
threshold: 0.1,
ignoreLocation: true,
keys: ['doc', {
name: 'name',
weight: 2
Expand Down
1 change: 1 addition & 0 deletions app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const { useRef, useState, useEffect, useMemo } = React;
const fuse_options = {
includeScore: true,
threshold: 0.1,
ignoreLocation: true,
keys: [
'doc',
{
Expand Down

0 comments on commit 4f05157

Please sign in to comment.