From 5f479f7252a7aa3328bfe186893de8b011e21b15 Mon Sep 17 00:00:00 2001 From: dujinkim Date: Tue, 26 Aug 2025 09:35:51 +0000 Subject: (정희성) global-filter search undefined 오류 수정 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/data-table/data-table-grobal-filter.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/data-table') diff --git a/components/data-table/data-table-grobal-filter.tsx b/components/data-table/data-table-grobal-filter.tsx index ca60bf02..fa0c809c 100644 --- a/components/data-table/data-table-grobal-filter.tsx +++ b/components/data-table/data-table-grobal-filter.tsx @@ -24,7 +24,7 @@ export function DataTableGlobalFilter() { // Debounced callback that sets the URL param after `delay` ms const debouncedSetSearch = useDebouncedCallback((value: string) => { - if (value !== searchValue) setSearchValue(value.trim() === "" ? undefined : value); + if (value !== searchValue) setSearchValue(value.trim() === "" ? null : value); }, 300) // When user types, update local `tempValue` immediately, -- cgit v1.2.3