Refactor useBudgetState into smaller files

Refactors the `useBudgetState.ts` file into smaller, more manageable files to improve code organization and maintainability. No functionality is changed.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-16 05:49:41 +00:00
parent f98db16d17
commit 650bbf2f6f
6 changed files with 286 additions and 159 deletions

View File

@@ -1,4 +1,11 @@
export * from './types';
export * from './BudgetContext';
export * from './types';
export * from './budgetUtils';
export * from './storageUtils';
// Export hooks
export * from './hooks/useTransactionState';
export * from './hooks/useBudgetDataState';
export * from './hooks/useCategoryBudgetState';
export * from './hooks/useCategorySpending';