From 761c8f4c161147048a866f9f7be34f206b2f3f8d Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sat, 15 Mar 2025 04:26:33 +0000 Subject: [PATCH] Update analytics page Update icons and amount display on the analytics page. --- src/pages/Analytics.tsx | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) 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)}

- +

저축