Fix budget input and display

- Fix issue where budget input for transportation and other categories were not saved correctly.
- Fix issue where total budget amount was calculated incorrectly.
- Fix issue where daily and weekly budgets were not displayed correctly.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-22 07:35:55 +00:00
parent 22aae75d13
commit b79c6b2314
6 changed files with 66 additions and 65 deletions

View File

@@ -6,7 +6,9 @@ import { EXPENSE_CATEGORIES } from '@/constants/categoryIcons';
export const DEFAULT_CATEGORY_BUDGETS: Record<string, number> = {
음식: 0,
쇼핑: 0,
교통비: 0
교통비: 0,
교통: 0,
기타: 0
};
export const DEFAULT_MONTHLY_BUDGET = 0;