From 85b4d3e7959e6819074199a2dbf62f52a26bd829 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Mon, 19 May 2025 12:31:13 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20"Ver=20todas=20as=20transa=C3=A7=C3=B5es?= =?UTF-8?q?"=20button=20refresh=20issue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The "Ver todas as transações" button was refreshing the page instead of displaying all transactions. This commit addresses the issue. --- src/components/dashboard/TransactionsTable.tsx | 16 +++++++++------- src/pages/Transacoes.tsx | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) 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 && (