From 92ec609fc6c9913c29d8c9c5602006a73a09be76 Mon Sep 17 00:00:00 2001 From: MUsoftware Date: Sat, 16 May 2026 19:46:00 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=96=B4=EB=93=9C=EB=AF=BC=EC=9D=98=20?= =?UTF-8?q?=EC=9C=A0=EC=A0=80=20=EC=97=90=EB=94=94=ED=84=B0=20=ED=8E=98?= =?UTF-8?q?=EC=9D=B4=EC=A7=80=EC=97=90=EC=84=9C=20=EC=8A=A4=ED=86=A0?= =?UTF-8?q?=EC=96=B4=20=EC=A3=BC=EB=AC=B8=20=EB=82=B4=EC=97=AD=EC=9D=B4=20?= =?UTF-8?q?=ED=91=9C=EC=8B=9C=EB=90=98=EC=A7=80=20=EC=95=8A=EB=8D=98=20?= =?UTF-8?q?=EB=AC=B8=EC=A0=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/pages/user/shop_order_section.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/pyconkr-admin/src/components/pages/user/shop_order_section.tsx b/apps/pyconkr-admin/src/components/pages/user/shop_order_section.tsx index 2060c85..b0371c0 100644 --- a/apps/pyconkr-admin/src/components/pages/user/shop_order_section.tsx +++ b/apps/pyconkr-admin/src/components/pages/user/shop_order_section.tsx @@ -1,4 +1,4 @@ -import { useBackendAdminClient, useListQuery } from "@frontend/common/hooks/useAdminAPI"; +import { useBackendAdminClient, useListPaginatedQuery } from "@frontend/common/hooks/useAdminAPI"; import { Alert, Chip, CircularProgress, Divider, Stack, Table, TableBody, TableCell, TableHead, TableRow, Typography } from "@mui/material"; import { ErrorBoundary, Suspense } from "@suspensive/react"; import { FC } from "react"; @@ -24,8 +24,8 @@ const InnerShopOrderSection: FC<{ userId: string }> = ErrorBoundary.with( { fallback: ErrorFallback }, Suspense.with({ fallback: }, ({ userId }) => { const client = useBackendAdminClient(); - const ordersQuery = useListQuery(client, "shop", "orders", { user_id: userId }); - const orders = ordersQuery.data ?? []; + const ordersQuery = useListPaginatedQuery(client, "shop", "orders", { user_id: userId }); + const orders = ordersQuery.data?.results ?? []; return (