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 (
{isOpen && (
-
)} @@ -53,7 +39,7 @@ const AddTransactionButton = () => { onClick={() => setIsOpen(!isOpen)} aria-label={isOpen ? "닫기" : "거래 추가"} > - {isOpen ? : } + {isOpen ? : }
);