ZacCrumpton / front-end-capstone

0 stars 0 forks source link

Delete Anime #16

Open ZacCrumpton opened 4 years ago

ZacCrumpton commented 4 years ago

USER STORY

as a user, i need a way to delete the anime i've created

AC

WHEN on button click THEN the anime corresponding to the button should be deleted AND it should also delete the data from firebase

DEV NOTES

  1. add a button to the AnimeCard.js and on the ListCard where anime's are displayed
  2. this will need an event listener that deletes the corresponding card and information on the ListCard.
    • you will need to make an axios.delete call for this.
    • must delete the data from firebase ONLY for the anime that is being deleted.