Fix TypeScript errors
Fixes TypeScript errors related to missing properties and incorrect exports.
This commit is contained in:
@@ -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';
|
||||
|
||||
|
||||
@@ -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[]) => {
|
||||
|
||||
@@ -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[]) => {
|
||||
|
||||
Reference in New Issue
Block a user