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

Issue #433 - Use NoResult component

parent 412f77db
No related branches found
No related tags found
1 merge request!526Delrifai/#433 add no result component
...@@ -13,6 +13,7 @@ import { useSearchesContext } from "@/contexts/SearchesContext"; ...@@ -13,6 +13,7 @@ import { useSearchesContext } from "@/contexts/SearchesContext";
import useAccountOperations from "@/hooks/api/accountPage/useAccountOperations"; import useAccountOperations from "@/hooks/api/accountPage/useAccountOperations";
import ErrorPage from "@/pages/ErrorPage"; import ErrorPage from "@/pages/ErrorPage";
import { getAccountPageLink } from "../utils/accountSearchHelpers"; import { getAccountPageLink } from "../utils/accountSearchHelpers";
import NoResults from "@/components/NoResults";
const AccountSearchResults = () => { const AccountSearchResults = () => {
const { const {
...@@ -97,9 +98,7 @@ const AccountSearchResults = () => { ...@@ -97,9 +98,7 @@ const AccountSearchResults = () => {
/> />
</div> </div>
) : ( ) : (
<div className="flex justify-center w-full text-black dark:text-white"> <NoResults/>
No operations matching given criteria
</div>
)} )}
</> </>
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment