Skip to content

Commit

Permalink
fix(watchlist): added missing prop for watchlist item removal button …
Browse files Browse the repository at this point in the history
…in watchlist page

This fix resolves a Watchlist page bug where the isAddedToWatchlist prop was missing.
Without this prop, the removal button for watchlist items was absent. In this fix, the
isAddedToWatchlist prop is re-added and set to true, allowing users to remove items from
their local watchlist directly on the Watchlist page.
  • Loading branch information
Fallenbagel committed Nov 18, 2023
1 parent 4005397 commit a0ec992
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Common/ListView/index.tsx
Expand Up @@ -46,6 +46,7 @@ const ListView = ({
id={title.tmdbId}
tmdbId={title.tmdbId}
type={title.mediaType}
isAddedToWatchlist={true}
canExpand
/>
</li>
Expand Down

0 comments on commit a0ec992

Please sign in to comment.