import { dehydrate, HydrationBoundary } from '@tanstack/react-query'; import { Metadata } from 'next'; import popularQuery from '@/api/queries/popular'; import getQueryClient from '@/lib/queryClient'; import Container from './container'; export const metadata: Metadata = { title: 'Top Rated Movies | Movie Advisor', description: 'Discover the top-rated movies on Movie Advisor. Find the highest-rated films and make informed viewing choices.' }; const Top = () => { const queryClient = getQueryClient(); queryClient.prefetchInfiniteQuery(popularQuery({ sortBy: 'vote_average.desc' })); return ( ); }; export default Top;