Skip to content

Commit

Permalink
sorted teams
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrastopoulos authored Jan 29, 2024
1 parent b14e2be commit 0871680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/teams.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export default function ViewTeams(props: SSRDataAuth<TeamData>["props"]) {
{emptyMessage}
<table className={styles.tableData}>
<tbody>
{teams.map((team, idx) => (
{teams.sort((a, b) => +a.id - +b.id).map((team, idx) => (
<TeamTableEntry
team={team}
key={idx}
Expand Down

0 comments on commit 0871680

Please sign in to comment.