feat: change torrents search query
This commit is contained in:
1 parent
731d658740
commit
a268f7c38d
12 files changed
+91
-122
No files matched your search
@@ -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;
|
||||
Reference in new issue
Block a user