Fix: Resolve "useEffect" error

The code was throwing a "Cannot find name 'useEffect'" error. This commit fixes the error by importing the useEffect hook from react.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-18 03:53:15 +00:00
parent 27b4e3274e
commit a63c8f1b16

View File

@@ -1,5 +1,5 @@
import { useCallback, useRef } from 'react';
import { useCallback, useRef, useEffect } from 'react';
import { Transaction } from '@/components/TransactionCard';
import { useAuth } from '@/contexts/auth/AuthProvider';
import { useDeleteTransactionCore } from './deleteOperation/deleteTransactionCore';