From 9050895b0f714a2bf462e3d8c472345d42870a1c Mon Sep 17 00:00:00 2001 From: ljpark Date: Thu, 10 Jul 2025 21:13:50 +0900 Subject: [PATCH] =?UTF-8?q?searchModal=20=EC=9E=AC=EC=98=A4=ED=94=88?= =?UTF-8?q?=EC=8B=9C=20=EC=B4=88=EA=B8=B0=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/sn/app/(map-layout)/map/SearchModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/sn/app/(map-layout)/map/SearchModal.tsx b/apps/sn/app/(map-layout)/map/SearchModal.tsx index e14b7cb8b..fafb4bcf4 100644 --- a/apps/sn/app/(map-layout)/map/SearchModal.tsx +++ b/apps/sn/app/(map-layout)/map/SearchModal.tsx @@ -207,7 +207,7 @@ const SearchModal: React.FC = ({ setTableCount(0); setTableData([]); // queryParams는 fetchFilteredData 내에서 매번 새로 생성되므로 별도 상태 초기화는 필요 없음 - }, [activeTab, basicType]); + }, [activeTab, basicType, open]); // 페이지 변경 시마다 데이터 fetch useEffect(() => {