From d75f03ce77900d40f02d47900e4a09f534fd153e 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:57:39 +0000 Subject: [PATCH] Remove income transaction option Removes the income transaction option from the add transaction button. Keeps only the expense transaction option with neuro-income color. --- src/components/AddTransactionButton.tsx | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/src/components/AddTransactionButton.tsx b/src/components/AddTransactionButton.tsx index 50402d2..ebe69d1 100644 --- a/src/components/AddTransactionButton.tsx +++ b/src/components/AddTransactionButton.tsx @@ -1,6 +1,6 @@ import React, { useState } from 'react'; -import { PlusIcon, MinusIcon, X } from 'lucide-react'; +import { MinusIcon, X } from 'lucide-react'; import { cn } from '@/lib/utils'; import { useNavigate } from 'react-router-dom'; @@ -15,31 +15,17 @@ const AddTransactionButton = () => { // navigate('/add-transaction', { state: { type: 'expense' } }); }; - const handleAddIncome = () => { - // 여기에 수입 추가 로직을 구현할 수 있습니다 - setIsOpen(false); - // 향후 트랜잭션 추가 페이지로 이동할 수 있습니다 - // navigate('/add-transaction', { state: { type: 'income' } }); - }; - return (