From 85a575ae8916e216b1d0c9bdee052cb72002d2e2 Mon Sep 17 00:00:00 2001 From: The-XENO-Studios Date: Mon, 14 Oct 2024 11:41:40 +0600 Subject: [PATCH] Announcement Tweak --- src/app/club/Components/Admin/AdminAnnouncements.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/club/Components/Admin/AdminAnnouncements.tsx b/src/app/club/Components/Admin/AdminAnnouncements.tsx index 04b56d7..c831130 100644 --- a/src/app/club/Components/Admin/AdminAnnouncements.tsx +++ b/src/app/club/Components/Admin/AdminAnnouncements.tsx @@ -51,6 +51,7 @@ const Announcements = () => { }); annc.reverse(); setAnnouncements(annc); + setOrder(docs.docs.length); }) .catch((err) => { toast.error("Announcements can't be loaded");