diff --git a/src/components/BudgetCategoriesSection.tsx b/src/components/BudgetCategoriesSection.tsx index d66eea6..c6147e0 100644 --- a/src/components/BudgetCategoriesSection.tsx +++ b/src/components/BudgetCategoriesSection.tsx @@ -1,7 +1,5 @@ - import React from 'react'; import BudgetCard from '@/components/BudgetCard'; - interface BudgetCategoriesSectionProps { categories: { title: string; @@ -9,24 +7,14 @@ interface BudgetCategoriesSectionProps { total: number; }[]; } - -const BudgetCategoriesSection: React.FC = ({ categories }) => { - return ( - <> -

지출 카테고리

+const BudgetCategoriesSection: React.FC = ({ + categories +}) => { + return <> +

지출 그래프

- {categories.map((category, index) => ( - - ))} + {categories.map((category, index) => )}
- - ); + ; }; - -export default BudgetCategoriesSection; +export default BudgetCategoriesSection; \ No newline at end of file