Open nadine-grantz opened 7 months ago
As a User I want to be able to delete my specific entries so that i can update the List of income/expenses
function DeleteButton({ id }) { const handleDelete = () => { const newTransactions = transactions.filter((transaction) => transaction.id !== id); setTransactions(newTransactions); }; return ( <button onClick={handleDelete}>Delete</button> ); }
Looks great!
Value proposition
As a User I want to be able to delete my specific entries so that i can update the List of income/expenses
Description
Acceptance criteria
Tasks