diff --git a/components/PostsSearchBar/PostsSearchBar.tsx b/components/PostsSearchBar/PostsSearchBar.tsx index a2b4d9fcc..615b30a60 100644 --- a/components/PostsSearchBar/PostsSearchBar.tsx +++ b/components/PostsSearchBar/PostsSearchBar.tsx @@ -24,17 +24,17 @@ function PostsSearchBar({ posts }: Props): JSX.Element { setOptions( value ? posts - .filter(({ title }) => - title.toLowerCase().includes(value.toLowerCase()), - ) - .map(({ slug, title }) => ({ - value: title, - label: ( -