From 31e840c88eaccfe1c3fa97a7149d95dbc341dbc5 Mon Sep 17 00:00:00 2001 From: Cypro Freelance <110410268+Proxyy587@users.noreply.github.com> Date: Wed, 17 Jul 2024 22:46:21 +0530 Subject: [PATCH] updated admin logs // table sorted in reversed --- app/(auth)/admin/changelogs/page.tsx | 37 ++++++++++++++++------------ 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/app/(auth)/admin/changelogs/page.tsx b/app/(auth)/admin/changelogs/page.tsx index 3275e59..5573a04 100644 --- a/app/(auth)/admin/changelogs/page.tsx +++ b/app/(auth)/admin/changelogs/page.tsx @@ -208,22 +208,27 @@ const AdminLogPage = () => { - {logs.map((log) => ( - - - {log.version} - - {log.date} - - - - - ))} + {logs + .slice() + .reverse() + .map((log) => ( + + + {log.version} + + + {log.date} + + + + + + ))}