Fix TypeScript errors

Fixes TypeScript errors related to missing properties and incorrect exports.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-22 07:12:06 +00:00
parent aa8381a823
commit 81afd624a4
7 changed files with 31 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
import { Transaction } from '@/components/TransactionCard';
import { Transaction } from '@/contexts/budget/types';
import { toast } from '@/hooks/useToast.wrapper';
import { EXPENSE_CATEGORIES } from '@/constants/categoryIcons';

View File

@@ -1,6 +1,6 @@
import { useCallback } from 'react';
import { Transaction } from '@/components/TransactionCard';
import { Transaction } from '@/contexts/budget/types';
import { useBudget } from '@/contexts/BudgetContext';
export const useTransactionsOperations = (transactions: Transaction[]) => {

View File

@@ -1,6 +1,6 @@
import { useCallback } from 'react';
import { Transaction } from '@/components/TransactionCard';
import { Transaction } from '@/contexts/budget/types';
import { useBudget } from '@/contexts/BudgetContext';
export const useTransactionsOperations = (transactions: Transaction[]) => {