More updates to Item Page and NavMenu #26 #11

This commit is contained in:
prayag17 committed 2023-04-16 20:03:57 +05:30
1 parent ca9cb9e7d6
commit 8ef12225c6
10 files changed
+165 -60

No files matched your search

+1 -3
View File
@@ -66,7 +66,6 @@ export const Card = ({
itemId: itemId,
});
}
console.log(result.data);
setIsWatched(result.data.Played);
setWatchedCountState(result.data.UnplayedItemCount);
};
@@ -83,7 +82,6 @@ export const Card = ({
itemId: itemId,
});
}
console.log(result.data.IsFavorite);
setIsFavourite(result.data.IsFavorite);
};
@@ -299,7 +297,7 @@ export const Card = ({
<MdiCheck
sx={{
color: isWatched
? green[200]
? green[400]
: "white",
}}
/>
+2 -1
View File
@@ -23,7 +23,8 @@
transition: opacity $transition-time-default;
}
}
&:hover .card-media-overlay {
&:hover .card-media-overlay,
&:focus .card-media-overlay {
opacity: 1;
}
&-image {