Fix budget total calculation

Ensure budget total calculation aligns with weekly or monthly budget settings.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-22 11:13:26 +00:00
parent ef239e6126
commit 5f125de8d7
2 changed files with 9 additions and 1 deletions

View File

@@ -110,6 +110,7 @@ export const useBudgetTabContent = ({
// 총액이 0이 아닐 때만 저장 처리
if (totalBudget > 0) {
// 월간 예산 기준으로 전달
onSaveBudget(totalBudget, updatedCategoryBudgets);
setShowBudgetInput(false);