From 6320ea17d4b2c02fe0898e9e71bfe400d115e515 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sun, 16 Mar 2025 11:31:34 +0000 Subject: [PATCH] Change recent transaction title color Change the color of the transaction title in the recent transactions card on the home screen to black. --- src/components/RecentTransactionsSection.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/RecentTransactionsSection.tsx b/src/components/RecentTransactionsSection.tsx index 9ed7262..372068d 100644 --- a/src/components/RecentTransactionsSection.tsx +++ b/src/components/RecentTransactionsSection.tsx @@ -1,3 +1,4 @@ + import React, { useState } from 'react'; import { Transaction } from './TransactionCard'; import TransactionEditDialog from './TransactionEditDialog'; @@ -64,11 +65,11 @@ const RecentTransactionsSection: React.FC = ({
- {transactions.length > 0 ? transactions.map(transaction =>
handleTransactionClick(transaction)} className="flex justify-between py-3 px-4 cursor-pointer hover:bg-gray-50 text-lime-700"> + {transactions.length > 0 ? transactions.map(transaction =>
handleTransactionClick(transaction)} className="flex justify-between py-3 px-4 cursor-pointer hover:bg-gray-50">
{getCategoryIcon(transaction.category)}
-

{transaction.title}

+

{transaction.title}

{transaction.date}

@@ -84,4 +85,4 @@ const RecentTransactionsSection: React.FC = ({ {selectedTransaction && }
; }; -export default RecentTransactionsSection; \ No newline at end of file +export default RecentTransactionsSection;