Investigate budget data issues

Investigate why budget and expense cards are not displaying correctly and why budget is showing as 0 on other pages.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-18 01:06:29 +00:00
parent 4881655d1e
commit 146cb92bc5
3 changed files with 106 additions and 61 deletions

View File

@@ -58,6 +58,7 @@ const BudgetTabContent: React.FC<BudgetTabContentProps> = ({
// 카테고리 예산 저장
const handleSaveCategoryBudgets = () => {
const totalBudget = calculateTotalBudget();
console.log('카테고리 예산 저장 및 총 예산 설정:', totalBudget, categoryBudgets);
onSaveBudget(totalBudget, categoryBudgets);
setShowBudgetInput(false);
};