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

Issue #433 - Use NoResult component

parent 9a48c4a4
No related branches found
No related tags found
No related merge requests found
...@@ -14,6 +14,7 @@ import useCommentSearch from "@/hooks/api/common/useCommentSearch"; ...@@ -14,6 +14,7 @@ import useCommentSearch from "@/hooks/api/common/useCommentSearch";
import { useSearchesContext } from "@/contexts/SearchesContext"; import { useSearchesContext } from "@/contexts/SearchesContext";
import { getCommentPageLink } from "../utils/commentSearchHelpers"; import { getCommentPageLink } from "../utils/commentSearchHelpers";
import { usePathname } from "next/navigation"; import { usePathname } from "next/navigation";
import NoResult from "@/components/NoResult";
const CommentSearchResults = () => { const CommentSearchResults = () => {
const { const {
...@@ -91,9 +92,7 @@ const CommentSearchResults = () => { ...@@ -91,9 +92,7 @@ const CommentSearchResults = () => {
/> />
</div> </div>
) : ( ) : (
<div className="flex justify-center w-full text-black dark:text-white"> <NoResult/>
No operations matching given criteria
</div>
)} )}
</> </>
); );
......
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