From 087168015765b76677a3248fae556ff914069fb0 Mon Sep 17 00:00:00 2001 From: Gabriel Hall <76796897+Adrastopoulos@users.noreply.github.com> Date: Sun, 28 Jan 2024 22:44:53 -0500 Subject: [PATCH] sorted teams --- pages/teams.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/teams.tsx b/pages/teams.tsx index 8da135a..2c85d1f 100644 --- a/pages/teams.tsx +++ b/pages/teams.tsx @@ -172,7 +172,7 @@ export default function ViewTeams(props: SSRDataAuth["props"]) { {emptyMessage} - {teams.map((team, idx) => ( + {teams.sort((a, b) => +a.id - +b.id).map((team, idx) => (