perf: [production-orders] stats API 이중 호출 제거

This commit is contained in:
2026-03-18 09:21:57 +09:00
parent 08b0b43eb8
commit 87287552fd

View File

@@ -10,7 +10,7 @@
* - 서버사이드 페이지네이션
*/
import { useState, useEffect, useCallback } from "react";
import { useState, useCallback } from "react";
import { useRouter } from "next/navigation";
import { Button } from "@/components/ui/button";
import { Card, CardContent } from "@/components/ui/card";
@@ -181,15 +181,6 @@ export default function ProductionOrdersListPage() {
completed: 0,
});
// 통계 로드
useEffect(() => {
getProductionOrderStats().then((result) => {
if (result.success && result.data) {
setStats(result.data);
}
});
}, []);
const handleBack = () => {
router.push("/sales/order-management-sales");
};