From 214c1a3dc55759d706428796ff021d0ffae66546 Mon Sep 17 00:00:00 2001 From: Max Ward Date: Wed, 9 Nov 2022 18:03:39 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20yearly=20message=20graph?= =?UTF-8?q?=20being=20backward?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Upload.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Upload.tsx b/components/Upload.tsx index 6930c56..9d11ba1 100644 --- a/components/Upload.tsx +++ b/components/Upload.tsx @@ -2198,7 +2198,7 @@ export default function Upload(): ReactElement { }); years.forEach((year: any) => { - yearlyMessages.push( + yearlyMessages.unshift( channels .map((c) => c.messages) .flat()