From a0ec992028093257e9fa043622e236014f02dea3 Mon Sep 17 00:00:00 2001 From: fallenbagel <98979876+Fallenbagel@users.noreply.github.com> Date: Sat, 18 Nov 2023 06:03:32 +0500 Subject: [PATCH] fix(watchlist): added missing prop for watchlist item removal button 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. --- src/components/Common/ListView/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Common/ListView/index.tsx b/src/components/Common/ListView/index.tsx index 907cc8e24..47140c5db 100644 --- a/src/components/Common/ListView/index.tsx +++ b/src/components/Common/ListView/index.tsx @@ -46,6 +46,7 @@ const ListView = ({ id={title.tmdbId} tmdbId={title.tmdbId} type={title.mediaType} + isAddedToWatchlist={true} canExpand />