From 7b024d2b96eb6e396de70511e17f8ce1f8077c8e Mon Sep 17 00:00:00 2001 From: Sat Naing Date: Fri, 16 Sep 2022 13:38:15 +0630 Subject: [PATCH] Update threshold for search to 0.5 --- src/components/Search.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Search.tsx b/src/components/Search.tsx index cf2fc6e..2bdbf8e 100644 --- a/src/components/Search.tsx +++ b/src/components/Search.tsx @@ -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(() => {