diff --git a/src/components/dashboard/TransactionsTable.tsx b/src/components/dashboard/TransactionsTable.tsx index fa947cb..3c8c10e 100644 --- a/src/components/dashboard/TransactionsTable.tsx +++ b/src/components/dashboard/TransactionsTable.tsx @@ -1,5 +1,6 @@ import { useState } from 'react'; +import { Link } from 'react-router-dom'; import { format } from 'date-fns'; import { ChevronDown, Search, ChevronLeft, ChevronRight } from 'lucide-react'; import { Transaction } from '@/types/financialTypes'; @@ -236,13 +237,14 @@ const TransactionsTable = ({ {!showPagination && filteredTransactions.length > itemsPerPage && (
- + + +
)} diff --git a/src/pages/Transacoes.tsx b/src/pages/Transacoes.tsx index b891974..bcb1537 100644 --- a/src/pages/Transacoes.tsx +++ b/src/pages/Transacoes.tsx @@ -45,7 +45,7 @@ const TransacoesPage = () => { useEffect(() => { loadTransactions(); - }, [toast]); + }, []); const handleTransactionSuccess = () => { setIsDialogOpen(false);