From fd5c96f1de01ce3886b5c1401611395c202bd9f2 Mon Sep 17 00:00:00 2001 From: Elias Bouassaba Date: Sun, 30 Jun 2024 01:50:28 +0200 Subject: [PATCH] fix(ui): switch sort order of tasks --- ui/src/components/task/task-list.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/task/task-list.tsx b/ui/src/components/task/task-list.tsx index 1750f84f5..3c95ee9c9 100644 --- a/ui/src/components/task/task-list.tsx +++ b/ui/src/components/task/task-list.tsx @@ -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(), )