Skip to content

Commit

Permalink
Merge pull request #227 from ourzora/reorder-votes-by-time
Browse files Browse the repository at this point in the history
Update voting list order to show newest first
  • Loading branch information
neokry authored Apr 24, 2023
2 parents 0a71d81 + f524ce7 commit 80f7179
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ export const ProposalVotes: React.FC<ProposalVotesProps> = ({ proposal }) => {
return (
<Flex className={propPageWrapper}>
{hasVotes ? (
proposal.votes?.map((vote) => <VotePlacard vote={vote} totalVotes={totalVotes} />)
proposal.votes
?.map((vote) => <VotePlacard vote={vote} totalVotes={totalVotes} />)
.reverse()
) : (
<Text textAlign={'center'} color="text3" mt="x4">
No votes yet for this proposal.
Expand Down

2 comments on commit 80f7179

@vercel
Copy link

@vercel vercel bot commented on 80f7179 Apr 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 80f7179 Apr 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

testnet-nouns-builder – ./apps/web

testnet-nouns-builder-ourzora.vercel.app
testnet.nouns.build
testnet-nouns-builder-git-main-ourzora.vercel.app

Please sign in to comment.