diff --git a/src/components/RecentTransactionsSection.tsx b/src/components/RecentTransactionsSection.tsx index ae0e7e8..8366610 100644 --- a/src/components/RecentTransactionsSection.tsx +++ b/src/components/RecentTransactionsSection.tsx @@ -1,4 +1,3 @@ - import React from 'react'; import { Transaction } from '@/contexts/budget/types'; import TransactionEditDialog from './TransactionEditDialog'; @@ -40,7 +39,7 @@ const RecentTransactionsSection: React.FC = ({ }; return ( -
+

최근 지출

diff --git a/src/components/home/HomeContent.tsx b/src/components/home/HomeContent.tsx index 4a220fc..3590450 100644 --- a/src/components/home/HomeContent.tsx +++ b/src/components/home/HomeContent.tsx @@ -1,4 +1,3 @@ - import React from 'react'; import BudgetProgressCard from '@/components/BudgetProgressCard'; import BudgetCategoriesSection from '@/components/BudgetCategoriesSection'; @@ -48,15 +47,12 @@ const HomeContent: React.FC = ({ getCategorySpending }) => { return ( -
- {/* 지출 카테고리 */} +
{getCategorySpending().some(cat => cat.current > 0 || cat.total > 0) ? ( ) : ( )} - - {/* 목표 진행 상황 */}

월간 예산과 지출

= ({ calculatePercentage={calculatePercentage} onSaveBudget={handleBudgetGoalUpdate} /> - - {/* 최근 지출 */} {transactions.length > 0 ? ( ) : ( -
+

최근 지출