Refactor useBudgetState hook

Refactor the useBudgetState hook into smaller, more manageable files for better organization and maintainability.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-16 06:37:13 +00:00
parent 8027a543ac
commit c23f5cddef

View File

@@ -1,3 +1,4 @@
import { useCallback, useEffect } from 'react'; import { useCallback, useEffect } from 'react';
import { BudgetPeriod } from './types'; import { BudgetPeriod } from './types';
import { toast } from '@/components/ui/use-toast'; import { toast } from '@/components/ui/use-toast';