From 58eadde0ff94448f1da4c41a86c590d170f5ee74 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 02:43:33 +0000 Subject: [PATCH] Visual edit in Lovable Edited UI in Lovable --- src/pages/Analytics.tsx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/pages/Analytics.tsx b/src/pages/Analytics.tsx index 0e857cd..e0f3c8e 100644 --- a/src/pages/Analytics.tsx +++ b/src/pages/Analytics.tsx @@ -1,11 +1,9 @@ - import React, { useState } from 'react'; import NavBar from '@/components/NavBar'; import ExpenseChart from '@/components/ExpenseChart'; import AddTransactionButton from '@/components/AddTransactionButton'; import { BarChart, Bar, XAxis, YAxis, Tooltip, ResponsiveContainer, Legend } from 'recharts'; import { ChevronLeft, ChevronRight } from 'lucide-react'; - const Analytics = () => { const [selectedPeriod, setSelectedPeriod] = useState('이번 달'); @@ -50,12 +48,10 @@ const Analytics = () => { income: 2550000, expense: 1740000 }]; - const totalIncome = 2550000; const totalExpense = 1740000; const savings = totalIncome - totalExpense; const savingsPercentage = Math.round(savings / totalIncome * 100); - return
{/* Header */} @@ -115,7 +111,7 @@ const Analytics = () => { {/* Monthly Comparison */}
-

월별 추이

+

월별 그래프

{
; }; - -export default Analytics; +export default Analytics; \ No newline at end of file