From bcc5e70c20f433789763e80eabb0c88cecea011c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9C=A0=EB=B3=91=EC=B2=A0?= Date: Tue, 27 Jan 2026 21:16:13 +0900 Subject: [PATCH] =?UTF-8?q?fix(WEB):=20ItemListClient=20=EA=B2=80=EC=83=89?= =?UTF-8?q?=20=EB=B3=80=EA=B2=BD=20=ED=95=B8=EB=93=A4=EB=9F=AC=20=EC=97=B0?= =?UTF-8?q?=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - handleSearchChange 핸들러 추가 - onSearchChange prop 연결로 검색 기능 정상화 Co-Authored-By: Claude Opus 4.5 --- src/components/items/ItemListClient.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/items/ItemListClient.tsx b/src/components/items/ItemListClient.tsx index ccd136df..b51b4bef 100644 --- a/src/components/items/ItemListClient.tsx +++ b/src/components/items/ItemListClient.tsx @@ -127,6 +127,11 @@ export default function ItemListClient() { setSelectedType(value); }; + // 검색 변경 핸들러 + const handleSearchChange = (value: string) => { + setSearchTerm(value); + }; + // 페이지 변경 핸들러 const handlePageChange = (page: number) => { search({ @@ -614,6 +619,7 @@ export default function ItemListClient() { config={config} initialData={items} onTabChange={handleTypeChange} + onSearchChange={handleSearchChange} externalPagination={{ currentPage: pagination.currentPage, totalPages: pagination.totalPages,