Skip to content

Commit

Permalink
tweak sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
JClackett committed Jun 8, 2024
1 parent 5c320cd commit 21f81b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/app/components/Day.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function _Day(props: Props) {
>
{inView && (
<>
{props.tasks
{[...props.tasks]
.sort((a, b) => a.order - b.order)
.map((task, index) => (
<Draggable key={task.id} draggableId={task.id} index={index}>
Expand Down

0 comments on commit 21f81b6

Please sign in to comment.