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

Issue #433 - Use NoResult component

parent def6dd6b
No related branches found
No related tags found
1 merge request!531Delrifai/#433 3 unify no results
......@@ -26,6 +26,7 @@ import LastUpdatedTooltip from "../LastUpdatedTooltip";
import { useHiveChainContext } from "@/contexts/HiveChainContext";
import { convertVestsToHP } from "@/utils/Calculations";
import fetchingService from "@/services/FetchingService";
import NoResult from "../NoResult";
interface Supply {
amount: string;
......@@ -215,8 +216,8 @@ const VotesHistoryDialog: React.FC<VotersDialogProps> = ({
)}
{votesHistory?.votes_history?.length === 0 &&
!isVotesHistoryLoading ? (
<div className="flex justify-center w-full">
No results matching given criteria
<div>
<NoResult />
</div>
) : (
<>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment