fix(governance): homepage proposals ordering fixed (#3856)

This commit is contained in:
Sam Keen 2023-05-19 19:12:14 +01:00 committed by GitHub
parent b13a866b2a
commit afa627864c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -209,7 +209,10 @@ const GovernanceHome = ({ name }: RouteChildProps) => {
[proposalsData]
);
const sortedProposals = useMemo(() => orderByDate(proposals), [proposals]);
const sortedProposals = useMemo(
() => orderByDate(proposals).reverse(),
[proposals]
);
const protocolUpgradeProposals = useMemo(
() =>