Fix toast and data display issues

- Fixes an issue where toast notifications would not automatically dismiss.
- Addresses a problem where expense data was not displaying correctly on the transaction and analytics screens.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-16 08:34:58 +00:00
parent 1281156f05
commit fe669b0cfd
6 changed files with 68 additions and 19 deletions

View File

@@ -31,7 +31,7 @@ export const useExtendedBudgetUpdate = (
const updatedBudgetData = calculateUpdatedBudgetData(budgetData, 'monthly', totalAmount);
// 각 기간별 예산 업데이트
handleBudgetGoalUpdate('monthly', updatedBudgetData.monthly.targetAmount);
handleBudgetGoalUpdate('monthly', totalAmount);
} else {
// 카테고리 예산이 없는 경우, 기존 로직 사용
handleBudgetGoalUpdate(type, amount);