Fix data persistence issue
Addresses a problem where budget and expense data was not being saved correctly.
This commit is contained in:
@@ -15,7 +15,9 @@ interface BudgetContextType {
|
||||
current: number;
|
||||
total: number;
|
||||
}>;
|
||||
addTransaction: (transaction: Transaction) => void;
|
||||
updateTransaction: (transaction: Transaction) => void;
|
||||
deleteTransaction: (id: string) => void;
|
||||
handleBudgetGoalUpdate: (type: BudgetPeriod, amount: number, newCategoryBudgets?: Record<string, number>) => void;
|
||||
resetBudgetData?: () => void; // 선택적 필드로 추가
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user