Update threshold to 4.0

This commit is contained in:
Sat Naing
2022-09-16 09:08:13 +06:30
parent a95fbf99c6
commit 9b4d1948be
+1 -1
View File
@@ -36,7 +36,7 @@ export default function SearchBar({ searchList }: Props) {
const fuse = new Fuse(searchList, { const fuse = new Fuse(searchList, {
keys: ["title", "description"], keys: ["title", "description"],
includeMatches: true, includeMatches: true,
threshold: 0.3, threshold: 0.4,
}); });
useEffect(() => { useEffect(() => {