Refactor budget storage utils

Splits the budget storage utils file into smaller, more manageable files for better organization and maintainability.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-16 06:36:05 +00:00
parent 575f2dd601
commit 8027a543ac
9 changed files with 284 additions and 205 deletions

View File

@@ -1,4 +1,3 @@
import { useCallback, useEffect } from 'react';
import { BudgetPeriod } from './types';
import { toast } from '@/components/ui/use-toast';
@@ -10,7 +9,7 @@ import {
clearAllTransactions,
clearAllCategoryBudgets,
clearAllBudgetData
} from './storageUtils';
} from './storage';
export const useBudgetState = () => {
// 각 상태 관리 훅 사용