From f464a5b0493d5ece1d55621c5a675142d28cdde6 Mon Sep 17 00:00:00 2001 From: PhilReact Date: Fri, 22 Nov 2024 04:57:29 +0200 Subject: [PATCH] fix publish --- src/components/Group/ListOfGroupPromotions.tsx | 6 +++--- src/components/Group/ThingsToDoInitial.tsx | 4 ++-- src/qortalRequests/get.ts | 4 +--- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/components/Group/ListOfGroupPromotions.tsx b/src/components/Group/ListOfGroupPromotions.tsx index 51f04b5..22244e0 100644 --- a/src/components/Group/ListOfGroupPromotions.tsx +++ b/src/components/Group/ListOfGroupPromotions.tsx @@ -162,7 +162,7 @@ export const ListOfGroupPromotions = () => { }); await Promise.all(getPromos); - const groupWithInfo = await getGroupNames(data); + const groupWithInfo = await getGroupNames(data.sort((a, b) => b.created - a.created)); setPromotions(groupWithInfo); } catch (error) { console.error(error); @@ -548,10 +548,10 @@ export const ListOfGroupPromotions = () => { }} >