1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-20 14:37:43 +01:00
This commit is contained in:
Cooper Ransom 2024-03-17 16:42:03 -04:00
parent e9efe50ce0
commit 2afc08d159

View file

@ -180,8 +180,7 @@ export function TopFlix() {
{getItemsForCurrentPage().map((item) => {
const tmdbId = item.tmdbFullId.split("-")[1];
const type = isShowOrMovie(item.tmdbFullId);
// const poster = await getPoster(tmdbId, type === "movie" ? TMDBContentTypes.MOVIE : TMDBContentTypes.TV);
const poster = "";
const poster = getPoster(tmdbId, type === "movie" ? TMDBContentTypes.MOVIE : TMDBContentTypes.TV);
console.log(poster);
const media: MediaItem = {
id: tmdbId,