Skip to content
Snippets Groups Projects
Commit 94644e15 authored by Dima Rifai's avatar Dima Rifai
Browse files

Issue #433 - Use NoResult component

parent 0f740f70
No related branches found
No related tags found
1 merge request!526Delrifai/#433 add no result component
......@@ -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/>
)}
</>
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment