mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
Test
This commit is contained in:
parent
e9efe50ce0
commit
2afc08d159
1 changed files with 1 additions and 2 deletions
|
@ -180,8 +180,7 @@ export function TopFlix() {
|
||||||
{getItemsForCurrentPage().map((item) => {
|
{getItemsForCurrentPage().map((item) => {
|
||||||
const tmdbId = item.tmdbFullId.split("-")[1];
|
const tmdbId = item.tmdbFullId.split("-")[1];
|
||||||
const type = isShowOrMovie(item.tmdbFullId);
|
const type = isShowOrMovie(item.tmdbFullId);
|
||||||
// const poster = await getPoster(tmdbId, type === "movie" ? TMDBContentTypes.MOVIE : TMDBContentTypes.TV);
|
const poster = getPoster(tmdbId, type === "movie" ? TMDBContentTypes.MOVIE : TMDBContentTypes.TV);
|
||||||
const poster = "";
|
|
||||||
console.log(poster);
|
console.log(poster);
|
||||||
const media: MediaItem = {
|
const media: MediaItem = {
|
||||||
id: tmdbId,
|
id: tmdbId,
|
||||||
|
|
Loading…
Reference in a new issue