Commit ae86fefe authored by Moody Salem's avatar Moody Salem

fix: do not reverse the proposals list in place

parent 8901605c
......@@ -251,7 +251,10 @@ export default function Vote() {
</TYPE.subHeader>
</EmptyProposals>
)}
{allProposals?.reverse()?.map((p: ProposalData) => {
{allProposals
?.slice(0)
?.reverse()
?.map((p: ProposalData) => {
return (
<Proposal as={Link} to={`/vote/${p.governorIndex}/${p.id}`} key={`${p.governorIndex}${p.id}`}>
<ProposalNumber>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment