fix: search autocomplete

This commit is contained in:
ner committed 2024-10-15 20:06:10 +03:00
1 parent 91f8b4fc1e
commit a747461505
6 files changed
+43 -14

No files matched your search

+1 -3
View File
@@ -7,9 +7,7 @@ const useStarring = ({ actorId }: { actorId?: string }) =>
useInfiniteList({
queryKey: ['starring', actorId],
enabled: Boolean(actorId),
queryFn: ({ page }) => {
return topMovies({ page, starring: actorId });
}
queryFn: ({ page }) => topMovies({ page, starring: actorId })
});
export default useStarring;