Closed melanie-adler closed 1 month ago
in your tasks its missing how you achieve the deletion of the element. Please give better names than just Button.
You won't be submitting your Button
component, but it will most likely can be clicked and that click should trigger the handleDelete
.
Your last Task mentions isLoading
and error
, you work with those two things when using useSWR
, which is not the case yet for your application. Unless I am mistaken.
I recommend removing the last bullet point and updating the rethink how the handleDelete
in your Button
component will actually be triggered.
👍 LGTM
Value Proposition
As a
user
I want to
delete incorrect transactions
,so that
I can maintain an accurate and organised transactions list
.Description
Acceptance Criteria
Tasks
feature/delete-transaction
.TransactionItem
component add theButton
component.Button
component createhandleDelete
functionin.handleSubmit
filter
method withid
to delete the selected transaction.