From 3657a7488c4c1896b6cf62c4f61eff453dd9ba3e Mon Sep 17 00:00:00 2001 From: Geoff Lamperd Date: Sat, 20 Apr 2024 10:29:42 +1000 Subject: [PATCH] chore - rebase to dev --- web/src/pages/LandingPage/HeroComponent.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/src/pages/LandingPage/HeroComponent.tsx b/web/src/pages/LandingPage/HeroComponent.tsx index c55c9cc..b6181fd 100644 --- a/web/src/pages/LandingPage/HeroComponent.tsx +++ b/web/src/pages/LandingPage/HeroComponent.tsx @@ -13,6 +13,7 @@ import { ScrollBanner } from "./Banner"; export function HeroComponent({ projects, waitingQueue }: HeroComponentProps) { const bannerImages: any[] = [] + const sortedProjects = projects.sort((a, b) => b.ceremony.data.endDate - a.ceremony.data.endDate); for (const queue of waitingQueue) { bannerImages.push({ @@ -65,4 +66,4 @@ export function HeroComponent({ projects, waitingQueue }: HeroComponentProps) { ); -} +} \ No newline at end of file