em2396 / rancid-tomatillos

1 stars 1 forks source link

Feature/main page css #15

Closed em2396 closed 9 months ago

em2396 commented 9 months ago

What I did:

Did this break anything?

Type of change

Checklist:

✨ What's next? Continue styling, add video API to singleMovie, begin iteration 4 with cypress

em2396 commented 9 months ago

I got the heart button to work. I originally put the function inside of App.js but this caused the state to update all the heart buttons so the function to toggle between heart .svg is in movie and so is the useState. The only issue is, if you arrow over to the point where the movie is hidden, the heart resets. I will come back to this issue later.