diff --git a/frontend/src/pages/search/search.ts b/frontend/src/pages/search/search.ts index 5f0c423..6b69024 100644 --- a/frontend/src/pages/search/search.ts +++ b/frontend/src/pages/search/search.ts @@ -2,11 +2,11 @@ import { useSearchImageContext } from "@contexts/SearchImageContext"; import Fuse from "fuse.js"; export const useSearch = () => { - const { userImages } = useSearchImageContext(); + const { userImages } = useSearchImageContext(); - return () => - new Fuse(userImages(), { - shouldSort: true, - keys: ["Image.Description"], - }); + return () => + new Fuse(userImages(), { + shouldSort: true, + keys: ["Description"], + }); };