diff --git a/src/components/tabs/voting.tsx b/src/components/tabs/voting.tsx index 2990f0b..d7c447a 100644 --- a/src/components/tabs/voting.tsx +++ b/src/components/tabs/voting.tsx @@ -85,7 +85,7 @@ function Voting() { diff --git a/src/components/votes/ccip-021.tsx b/src/components/votes/ccip-021.tsx index 63ef0c0..eef2ffd 100644 --- a/src/components/votes/ccip-021.tsx +++ b/src/components/votes/ccip-021.tsx @@ -20,6 +20,7 @@ import { formatMicroAmount } from "../../store/common"; import { hasVotedAtom } from "../../store/ccip-021"; import VoteProgressBar from "./vote-progress-bar"; +/* function VoteButtons() { const { voteYes, voteNo, isRequestPending } = useCcip021VoteActions(); const hasVoted = useAtomValue(hasVotedAtom); @@ -48,6 +49,7 @@ function VoteButtons() { ); } +*/ function VoteResult() { const voterInfo = useCcip021VoteData("voterInfo"); @@ -77,6 +79,11 @@ function CCIP021() { const voterInfo = useCcip021VoteData("voterInfo"); const hasVoted = useAtomValue(hasVotedAtom); + const yesVotes = 65; + const noVotes = 0; + const yesTotal = 3952952766000000; + const noTotal = 0; + return ( Yes Vote Count - {voteTotals.data?.yesVotes ?? } + {yesVotes} No Vote Count - {voteTotals.data?.noVotes ?? } + {noVotes} - + Related CCIPs: CCIP-021 @@ -137,7 +141,7 @@ function CCIP021() { Voting Method: CCIP-015 @@ -163,15 +167,6 @@ function CCIP021() { the new sunset period ending at Stacks block 173,748. - {isVoteActive.data && hasVoted ? ( - <> - - Vote recorded, thank you! - Refresh to see stats once the tx confirms. - - ) : ( - - )} {voterInfo.data && } );