From afa627864c15c2c1864f2cda334a2d98aa10f20e Mon Sep 17 00:00:00 2001 From: Sam Keen Date: Fri, 19 May 2023 19:12:14 +0100 Subject: [PATCH] fix(governance): homepage proposals ordering fixed (#3856) --- apps/governance/src/routes/home/index.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/governance/src/routes/home/index.tsx b/apps/governance/src/routes/home/index.tsx index 19fe4621e..e7dbcdddd 100644 --- a/apps/governance/src/routes/home/index.tsx +++ b/apps/governance/src/routes/home/index.tsx @@ -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( () =>