Skip to content

Commit

Permalink
fix(ui): switch sort order of tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
bouassaba committed Jun 29, 2024
1 parent 21f0081 commit fd5c96f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/task/task-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const TasksList = () => {
const dispatch = useAppDispatch()
const [page, setPage] = useState(1)
const { data: list, mutate: mutateList } = TaskAPI.useList(
{ page, size: 5, sortOrder: SortOrder.Desc },
{ page, size: 5, sortOrder: SortOrder.Asc },
swrConfig(),
)

Expand Down

0 comments on commit fd5c96f

Please sign in to comment.