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

Issue #433 - Use NoResult component

parent 9e5ef7cf
No related branches found
No related tags found
1 merge request!531Delrifai/#433 3 unify no results
......@@ -26,6 +26,7 @@ import useAccountOperationTypes from "@/hooks/api/accountPage/useAccountOperatio
import OperationTypesDialog from "@/components/OperationTypesDialog";
import { getOperationButtonTitle } from "@/utils/UI";
import { useSearchesContext } from "@/contexts/SearchesContext";
import NoResult from "@/components/NoResult";
interface OpeationTabContentProps {
liveDataEnabled: boolean;
......@@ -106,8 +107,8 @@ const OperationTabContent: React.FC<OpeationTabContentProps> = ({
const buildOperationView = () => {
if (!isAccountOperationsLoading && !accountOperations?.total_operations) {
return (
<div className="w-full my-4 text-text text-center">
No operations were found.
<div>
<NoResult/>
</div>
);
} else if (isAccountOperationsLoading) {
......
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