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

Issue #433 - Use NoResult component

parent 7f24e1af
No related branches found
No related tags found
1 merge request!526Delrifai/#433 add no result component
...@@ -3,6 +3,7 @@ import CommentPermlinkResultTable from "../CommentPermlinkResultTable"; ...@@ -3,6 +3,7 @@ import CommentPermlinkResultTable from "../CommentPermlinkResultTable";
import { useSearchesContext } from "@/contexts/SearchesContext"; import { useSearchesContext } from "@/contexts/SearchesContext";
import { getCommentPageLink } from "../utils/commentSearchHelpers"; import { getCommentPageLink } from "../utils/commentSearchHelpers";
import PostTypeSelector from "../PostTypeSelector"; import PostTypeSelector from "../PostTypeSelector";
import NoResults from "@/components/NoResults";
const CommentPermlinkSearchResults = () => { const CommentPermlinkSearchResults = () => {
const { const {
...@@ -62,9 +63,7 @@ const CommentPermlinkSearchResults = () => { ...@@ -62,9 +63,7 @@ const CommentPermlinkSearchResults = () => {
</div> </div>
</div> </div>
) : ( ) : (
<div className="flex justify-center w-full"> <NoResults/>
No permlinks 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