Migrate route loaders and password flows to new client API

This commit is contained in:
Yurii Motov
2026-07-23 21:52:43 +02:00
parent 266a7a37c8
commit 865a31954f
4 changed files with 7 additions and 5 deletions
+2 -1
View File
@@ -11,7 +11,8 @@ import PendingItems from "@/components/Pending/PendingItems"
function getItemsQueryOptions() {
return {
queryFn: () => ItemsService.readItems({ skip: 0, limit: 100 }),
queryFn: async () =>
(await ItemsService.readItems({ query: { skip: 0, limit: 100 } })).data,
queryKey: ["items"],
}
}