refactoring: server actions => tmdb proxy
This commit is contained in:
1 parent
dfdfb79169
commit
97d55b24a1
13 files changed
+131
-113
No files matched your search
@@ -24,10 +24,7 @@ const useUsersShows = ({
|
||||
const { shows: favorite } = useFavorites();
|
||||
const { shows: watchlist } = useWatchList();
|
||||
|
||||
const query = useInfiniteList({
|
||||
...usersShowsQuery({ showType, list, session }),
|
||||
enabled: Boolean(session)
|
||||
});
|
||||
const query = useInfiniteList(usersShowsQuery({ showType, list, session }));
|
||||
|
||||
return session
|
||||
? query
|
||||
|
||||
Reference in new issue
Block a user