From 4d249895ed9d15c21018fe4bf837dc7697f436f6 Mon Sep 17 00:00:00 2001 From: byeongcheolryu Date: Fri, 16 Jan 2026 15:33:49 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20boards=20=ED=8E=98=EC=9D=B4=EC=A7=80=20e?= =?UTF-8?q?xternalPagination=20NaN=20=EC=9D=B4=EC=8A=88=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - externalPagination에 누락된 필수 props 추가 - totalPages: 총 페이지 수 - totalItems: 총 항목 수 - itemsPerPage: 페이지당 항목 수 - onPageChange: 페이지 변경 핸들러 Co-Authored-By: Claude Opus 4.5 --- src/app/[locale]/(protected)/boards/[boardCode]/page.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/[locale]/(protected)/boards/[boardCode]/page.tsx b/src/app/[locale]/(protected)/boards/[boardCode]/page.tsx index 9b6f6b6b..5dcae21f 100644 --- a/src/app/[locale]/(protected)/boards/[boardCode]/page.tsx +++ b/src/app/[locale]/(protected)/boards/[boardCode]/page.tsx @@ -414,7 +414,10 @@ export default function DynamicBoardListPage() { }} externalPagination={{ currentPage, - setCurrentPage, + totalPages, + totalItems: filteredData.length, + itemsPerPage: ITEMS_PER_PAGE, + onPageChange: setCurrentPage, }} /> );