refactoring: improvements for lighthouse
This commit is contained in:
1 parent
f2f242a684
commit
38aebcbe28
27 files changed
+132
-93
No files matched your search
@@ -10,6 +10,7 @@ interface Props {
|
||||
|
||||
const useSimilar = ({ showId, showType = 'movie' }: Props) =>
|
||||
useInfiniteList({
|
||||
suspense: true,
|
||||
enabled: Boolean(showId),
|
||||
queryKey: ['similar', showId, showType],
|
||||
queryFn: ({ page }) => similarShows({ page, showId, showType })
|
||||
|
||||
Reference in new issue
Block a user