Skip to content
This repository was archived by the owner on Feb 8, 2025. It is now read-only.

Commit 53541c8

Browse files
committed
fix(app): order activity by timestamp desc
1 parent 470e3eb commit 53541c8

File tree

1 file changed

+1
-1
lines changed
  • app/src/app/(nav)/[account]/(home)/activity

1 file changed

+1
-1
lines changed

app/src/app/(nav)/[account]/(home)/activity/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function ActivityPane() {
6868

6969
const items = [...(a?.proposals ?? []), ...(a?.transfers ?? [])]
7070
.map((v) => ({ ...v, section: getItemSection(v), timestamp: asDateTime(v.timestamp) }))
71-
.sort((a, b) => asDateTime(b.timestamp).toMillis() - asDateTime(a.timestamp).toMillis());
71+
.sort((a, b) => asDateTime(a.timestamp).toMillis() - asDateTime(b.timestamp).toMillis());
7272

7373
const data = [...new Set(items.map((i) => i.section))]
7474
.sort((a, b) => sectionOrder(a) - sectionOrder(b))

0 commit comments

Comments
 (0)