kwicherbelliaken / bad-reviews-make-good-movies

0 stars 0 forks source link

[FEATURE]: delete movie from watchlist #69

Closed slackermorris closed 9 months ago

slackermorris commented 9 months ago

This pull request refactors the movie deletion functionality to improve its efficiency and readability. The code for deleting a movie from the watchlist has been updated to handle the deletion process more effectively. Additionally, the Movie class has been modified to include an optional id parameter, allowing for more flexibility when creating movie objects. The deleteMovie function has been added to handle the actual deletion of the movie from the database. Finally, the RemoveWatchlist component has been implemented to provide a user interface for removing movies from the watchlist.

Please review and merge this pull request.

Fixes #4520