From fdbdfb37f101ea5cf37bc455090d548c0c610fb0 Mon Sep 17 00:00:00 2001 From: sijinhui Date: Sat, 31 Aug 2024 12:10:05 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2=E6=8E=92?= =?UTF-8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/app/(admin)/components/users-table.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/app/(admin)/components/users-table.tsx b/app/app/(admin)/components/users-table.tsx index 403b11241..176948296 100644 --- a/app/app/(admin)/components/users-table.tsx +++ b/app/app/(admin)/components/users-table.tsx @@ -246,6 +246,8 @@ function UsersTable({ users, setUsers, loading }: UserInterface) { dataIndex: "everyLimitToken", width: 60, align: "right", + sorter: (a, b) => a.everyLimitToken - b.everyLimitToken, + sortDirections: ["descend"], }, { title: "createdAt",