Update threshold for search to 0.5

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