as a user, when i click the edit button on an anime i should see an edit form appear
AC
WHEN the edit button is clicked
THEN a form should appear
AND it should display the current information in the input fields
AND i should be able to change the information
AND save the new information
AND it should then display on the list card and anime card
DEV NOTES
you will need to make a new component called EditAnime
this will need a js and scss file
on the Anime Card we will need to make an edit button
this button will need an event listener
this event listener will load the edit form
the edit form will grab all the information from the current anime and display them in the input field
there will also need to be a save button
this save button will change the old information with the new information coming in.
on click the information will be sent to firebase via axios call put.
after saving the user should be redirected to the SingleAnimeView or My List page depending on which edit button they have clicked
USER STORY
as a user, when i click the edit button on an anime i should see an edit form appear
AC
WHEN the edit button is clicked THEN a form should appear AND it should display the current information in the input fields AND i should be able to change the information AND save the new information AND it should then display on the list card and anime card
DEV NOTES
EditAnime
js
andscss
fileAnime Card
we will need to make an edit buttonaxios
callput
.SingleAnimeView
or My List page depending on which edit button they have clicked