Fix budget calculation and storage
Correct budget calculation and storage issues for 교통 and 기타 categories, and ensure daily/weekly budgets are displayed correctly.
This commit is contained in:
@@ -32,9 +32,9 @@ const CategoryBudgetInputs: React.FC<CategoryBudgetInputsProps> = ({
|
||||
try {
|
||||
const amount = parseInt(numericValue, 10) || 0;
|
||||
markSingleCategoryBudgetAsModified(category, amount);
|
||||
console.log(`[예산 추적] 카테고리 '${category}' 예산 변경 추적: ${amount}원`);
|
||||
console.log(`카테고리 '${category}' 예산을 ${amount}원으로 수정 완료, 타임스탬프: ${new Date().toISOString()}`);
|
||||
} catch (error) {
|
||||
console.error(`[예산 추적] 카테고리 '${category}' 예산 변경 추적 실패:`, error);
|
||||
console.error(`카테고리 '${category}' 예산 변경 추적 실패:`, error);
|
||||
}
|
||||
|
||||
// 사용자에게 시각적 피드백 제공
|
||||
|
||||
Reference in New Issue
Block a user