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;