diff --git a/api/index.ts b/api/index.ts index 41a5e80..c3ee2fa 100644 --- a/api/index.ts +++ b/api/index.ts @@ -71,7 +71,7 @@ export const usersShows = async ({ }): Promise> => { return http .get>(`/account/null/${list}/${showType === 'tv' ? 'tv' : 'movies'}`, { - params: { page, session_id: cookies().get('session')?.value }, + params: { page, sort_by: 'created_at.desc', session_id: cookies().get('session')?.value }, preventCache: true }) .then((response) => mapMoviesSeriesResponseToShows(response, showType)); diff --git a/components/Poster/index.tsx b/components/Poster/index.tsx index 78e697b..252fc98 100644 --- a/components/Poster/index.tsx +++ b/components/Poster/index.tsx @@ -18,11 +18,7 @@ const Poster: FC = ({ show, onClick, className, rounded, containerProps } return (
{show.title} diff --git a/components/Preview/components/Torrents/components/Player/index.tsx b/components/Preview/components/Torrents/components/Player/index.tsx index 18ae88d..10e9b0e 100644 --- a/components/Preview/components/Torrents/components/Player/index.tsx +++ b/components/Preview/components/Torrents/components/Player/index.tsx @@ -40,7 +40,7 @@ const showPlayer = create(({ onResolve, magnet, backdrop, title }: Props) => { } return ( - +
setIsReady(true)} /> diff --git a/components/Preview/components/Torrents/index.tsx b/components/Preview/components/Torrents/index.tsx index 5184e94..67d3723 100644 --- a/components/Preview/components/Torrents/index.tsx +++ b/components/Preview/components/Torrents/index.tsx @@ -57,7 +57,7 @@ const showTorrentsModal = create(({ title, year, imdbID, backdrop, onResolve }: }, [providerKey, yts.isFetched, tpb.isFetched]); return ( - +
{title}