diff --git a/src/pages/Analytics.tsx b/src/pages/Analytics.tsx index 364e6ef..aa12f26 100644 --- a/src/pages/Analytics.tsx +++ b/src/pages/Analytics.tsx @@ -1,4 +1,3 @@ - import React, { useState } from 'react'; import NavBar from '@/components/NavBar'; import ExpenseChart from '@/components/ExpenseChart'; @@ -99,35 +98,33 @@ const Analytics = () => {
- +

예산

{new Intl.NumberFormat('ko-KR', { style: 'currency', currency: 'KRW', - notation: 'compact', - maximumFractionDigits: 1 + maximumFractionDigits: 0 }).format(totalBudget)}

- +

지출

{new Intl.NumberFormat('ko-KR', { style: 'currency', currency: 'KRW', - notation: 'compact', - maximumFractionDigits: 1 + maximumFractionDigits: 0 }).format(totalExpense)}

- +

저축