From ef466b2165e893d9ad5294f5e4d1f3491d74ab8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Wed, 4 Feb 2026 19:41:07 +0900 Subject: [PATCH] =?UTF-8?q?fix:=EA=B3=84=EC=A2=8C=20=EC=9E=85=EC=B6=9C?= =?UTF-8?q?=EA=B8=88=EB=82=B4=EC=97=AD=20=EB=82=A0=EC=A7=9C=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD=20=EC=8B=9C=20=EC=9E=90=EB=8F=99=EC=A1=B0=ED=9A=8C=20?= =?UTF-8?q?=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - dateFrom/dateTo/selectedAccount 변경 시 자동 loadTransactions useEffect 제거 - 조회 버튼 클릭 시에만 조회 동작 Co-Authored-By: Claude Opus 4.5 --- resources/views/barobill/eaccount/index.blade.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/resources/views/barobill/eaccount/index.blade.php b/resources/views/barobill/eaccount/index.blade.php index 1f123450..4ade8431 100644 --- a/resources/views/barobill/eaccount/index.blade.php +++ b/resources/views/barobill/eaccount/index.blade.php @@ -817,15 +817,9 @@ className="w-full px-2 py-1 text-sm border border-stone-200 rounded focus:ring-2 useEffect(() => { loadAccounts(); loadAccountCodes(); + loadTransactions(); }, []); - // 날짜 또는 계좌 변경 시 거래내역 로드 - useEffect(() => { - if (dateFrom && dateTo) { - loadTransactions(); - } - }, [dateFrom, dateTo, selectedAccount]); - const loadAccounts = async () => { try { const response = await fetch(API.accounts);