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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user