diff --git a/src/components/RecentTransactionsSection.tsx b/src/components/RecentTransactionsSection.tsx index b093f20..2cbe613 100644 --- a/src/components/RecentTransactionsSection.tsx +++ b/src/components/RecentTransactionsSection.tsx @@ -154,8 +154,8 @@ const RecentTransactionsSection: React.FC = ({ const formatCurrency = (amount: number) => { return amount.toLocaleString('ko-KR') + '원'; }; - return
-
+ return
+

최근 지출

더보기 @@ -163,7 +163,7 @@ const RecentTransactionsSection: React.FC = ({
- {transactions.length > 0 ? transactions.map(transaction =>
handleTransactionClick(transaction)} className="flex justify-between py-3 cursor-pointer px-[5px] bg-transparent"> + {transactions.length > 0 ? transactions.map(transaction =>
handleTransactionClick(transaction)} className="flex justify-between py-2 cursor-pointer px-[5px] bg-transparent">
@@ -175,7 +175,7 @@ const RecentTransactionsSection: React.FC = ({

-{formatCurrency(transaction.amount)}

{transaction.category}

-
) :
+
) :
지출 내역이 없습니다
}
@@ -183,4 +183,4 @@ const RecentTransactionsSection: React.FC = ({ {selectedTransaction && }
; }; -export default RecentTransactionsSection; \ No newline at end of file +export default RecentTransactionsSection;