Fix: Match chart colors to category list

Updated the expense chart to use the same colors as the category spending list for 음식, 쇼핑, and 교통비.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-21 11:49:00 +00:00
parent 40ddcee1da
commit cb29d6fe69
4 changed files with 30 additions and 19 deletions

View File

@@ -1,6 +1,7 @@
import React from 'react';
import { PieChart, Pie, Cell, ResponsiveContainer } from 'recharts';
import { getCategoryColor } from '@/utils/categoryColorUtils';
interface ExpenseData {
name: string;