feat: change torrents search query

This commit is contained in:
ner committed 2024-10-29 16:45:32 +02:00
1 parent 731d658740
commit a268f7c38d
12 files changed
+91 -122

No files matched your search

+1 -9
View File
@@ -1,8 +1,6 @@
import { Metadata } from 'next';
import popularQuery from '@/data/queries/popular';
import { TITLE } from '@/env';
import getQueryClient from '@/lib/queryClient';
import Container from './container';
@@ -11,12 +9,6 @@ export const metadata: Metadata = {
description: `Discover the top-rated movies on ${TITLE}. Find the highest-rated films and make informed viewing choices.`
};
const Top = () => {
const queryClient = getQueryClient();
queryClient.prefetchInfiniteQuery(popularQuery({ sortBy: 'vote_average.desc' }));
return <Container />;
};
const Top = () => <Container />;
export default Top;