From 3b212026b4657eb41658075b7b15765b8a38e7fd 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:10:50 +0000 Subject: [PATCH] Refactor budget categories Modify budget categories to display only food, living expenses, and transportation. --- src/pages/Index.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/pages/Index.tsx b/src/pages/Index.tsx index 7cd00c8..7df9875 100644 --- a/src/pages/Index.tsx +++ b/src/pages/Index.tsx @@ -7,6 +7,7 @@ import AddTransactionButton from '@/components/AddTransactionButton'; import { Wallet, TrendingUp, Bell } from 'lucide-react'; import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs'; import { toast } from '@/components/ui/use-toast'; + const Index = () => { const [selectedTab, setSelectedTab] = useState("daily"); @@ -83,6 +84,7 @@ const Index = () => { description: `${type === 'daily' ? '일일' : type === 'weekly' ? '주간' : '월간'} 목표가 ${amount.toLocaleString()}원으로 설정되었습니다.` }); }; + return