feat: show page

This commit is contained in:
ner committed 2024-11-06 22:12:19 +02:00
1 parent abe1c795a1
commit 183c7231a1
26 files changed
+210 -176

No files matched your search

+1
View File
@@ -13,6 +13,7 @@ const detailsQuery = ({ showId, showType }: DetailsQueryProps) => ({
movieAdvisor
.get<(Movie | Series) & Details>(`/${showType}/${showId}`)
.then((response) => ({ ...response, ...mapMovieSeriesToShow(response, showType) }))
.catch((error) => Promise.reject(error))
});
export default detailsQuery;