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: `Check out the most popular movies right now on ${TITLE}. See what’s trending and don’t miss out on the latest hits.`
};
const Popular = () => {
const queryClient = getQueryClient();
queryClient.prefetchInfiniteQuery(popularQuery());
return <Container />;
};
const Popular = () => <Container />;
export default Popular;