diff --git a/components/home/searches/searchesResults/CommentSearchResults.tsx b/components/home/searches/searchesResults/CommentSearchResults.tsx index 7b1cc39f989fdabff5496468311c7673bffdc694..7adaff2a143f985c569b313f6ad120b8850a487a 100644 --- a/components/home/searches/searchesResults/CommentSearchResults.tsx +++ b/components/home/searches/searchesResults/CommentSearchResults.tsx @@ -14,6 +14,7 @@ import useCommentSearch from "@/hooks/api/common/useCommentSearch"; import { useSearchesContext } from "@/contexts/SearchesContext"; import { getCommentPageLink } from "../utils/commentSearchHelpers"; import { usePathname } from "next/navigation"; +import NoResults from "@/components/NoResults"; const CommentSearchResults = () => { const { @@ -91,9 +92,7 @@ const CommentSearchResults = () => { /> </div> ) : ( - <div className="flex justify-center w-full text-black dark:text-white"> - No operations matching given criteria - </div> + <NoResults/> )} </> );