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,6 +1,6 @@
import { useState, useEffect, useCallback } from 'react';
import { resetAllData } from '@/contexts/budget/storageUtils';
import { resetAllData } from '@/contexts/budget/storage';
import { resetAllStorageData } from '@/utils/storageUtils';
export const useDataInitialization = (resetBudgetData?: () => void) => {