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:
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
import { useCallback, useRef } from 'react';
|
import { useCallback, useRef, useEffect } from 'react';
|
||||||
import { Transaction } from '@/components/TransactionCard';
|
import { Transaction } from '@/components/TransactionCard';
|
||||||
import { useAuth } from '@/contexts/auth/AuthProvider';
|
import { useAuth } from '@/contexts/auth/AuthProvider';
|
||||||
import { useDeleteTransactionCore } from './deleteOperation/deleteTransactionCore';
|
import { useDeleteTransactionCore } from './deleteOperation/deleteTransactionCore';
|
||||||
|
|||||||
Reference in New Issue
Block a user