feat: static generation

This commit is contained in:
ner committed 2024-11-04 12:47:15 +02:00
1 parent 25866b9eb9
commit e5c44fe359
7 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -3,6 +3,6 @@
import popularQuery from '@/data/queries/popular';
import useInfiniteList from '@/hooks/useInfiniteList';
const useTop = () => useInfiniteList(popularQuery({ sortBy: 'vote_average.desc' }));
const useTop = () => useInfiniteList({ ...popularQuery({ sortBy: 'vote_average.desc' }), mode: 'default' });
export default useTop;