issues
search
lkk95
/
PlatePlan
https://plateplan.vercel.app/
MIT License
0
stars
0
forks
source link
Delete Button for Recipe
#5
Open
lkk95
opened
2 years ago
lkk95
commented
2 years ago
User Story
As a user
I want to delete my recipes
so that I can get rid of meals that I don't want to use
AC
bin icon as delete-Button
when delete-Button is clicked, recipe is removed from planner
after deletion a message is shown: 'Recipe was deleted'
Tasks
create new branch
add bin icon to recipe card
create delete function that filters recipe array to remove recipe
add onClick to bin icon that calls delete function
conditionally render delete message: 'Recipe was deleted'
User Story
AC
Tasks