From b70933b704c4f160b5975801aa96ea033f620de2 Mon Sep 17 00:00:00 2001 From: ner Date: Sat, 19 Oct 2024 21:57:22 +0300 Subject: [PATCH] fix: borders --- api/index.ts | 2 +- components/Poster/index.tsx | 6 +---- .../Torrents/components/Player/index.tsx | 2 +- .../Preview/components/Torrents/index.tsx | 4 ++-- components/Preview/index.tsx | 16 +++++++++---- components/ui/dialog.tsx | 2 +- styles/index.css | 23 +++++++++++-------- tailwind.config.js | 7 ------ 8 files changed, 31 insertions(+), 31 deletions(-) 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}