Fix issue deleting transactions

Fixes an issue where deleting a transaction on the transaction history screen would cause the application to freeze.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-17 16:37:34 +00:00
parent acb9ae3d70
commit a53717c502
5 changed files with 74 additions and 48 deletions

View File

@@ -66,6 +66,7 @@ export const useTransactionsCore = () => {
// 데이터 강제 새로고침
const refreshTransactions = useCallback(() => {
console.log('트랜잭션 강제 새로고침');
setRefreshKey(prev => prev + 1);
loadTransactions();
}, [loadTransactions, setRefreshKey]);