mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-07-05 03:52:51 +01:00
fix(watchlist): remove stray unary plus in setIsWatchlisted
This commit is contained in:
@@ -39,7 +39,7 @@ export const useWatchlist = (item: BaseItemDto) => {
|
||||
const setIsWatchlisted = useCallback(
|
||||
(value: boolean | null | undefined) => {
|
||||
if (watchlistKey && typeof value === "boolean") {
|
||||
+setWatchlist((prev) => ({ ...prev, [watchlistKey]: value }));
|
||||
setWatchlist((prev) => ({ ...prev, [watchlistKey]: value }));
|
||||
}
|
||||
},
|
||||
[watchlistKey, setWatchlist],
|
||||
|
||||
Reference in New Issue
Block a user