Skip to content

Commit

Permalink
status history chronological order
Browse files Browse the repository at this point in the history
  • Loading branch information
lucia-gomez committed Oct 11, 2024
1 parent 4add66c commit 07d32df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default function useSortBookingHistory(booking: BookingRow) {
}, [booking, status]);

return rows
.sort((a, b) => b.time.toMillis() - a.time.toMillis())
.sort((a, b) => a.time.toMillis() - b.time.toMillis())
.map((row, i) => (
<TableRow key={i}>
<TableCell>
Expand Down

0 comments on commit 07d32df

Please sign in to comment.