fix(WEB): ItemListClient 검색 변경 핸들러 연결

- handleSearchChange 핸들러 추가
- onSearchChange prop 연결로 검색 기능 정상화

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
유병철
2026-01-27 21:16:13 +09:00
parent 9964ccbc1f
commit bcc5e70c20

View File

@@ -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,