fix: streamed hydration => providers
This commit is contained in:
1 parent
e9c0f3bef3
commit
731d658740
9 files changed
+12
-46
No files matched your search
@@ -1,4 +1,3 @@
|
||||
import { ReactQueryStreamedHydration } from '@tanstack/react-query-next-experimental';
|
||||
import { Metadata } from 'next';
|
||||
|
||||
import popularQuery from '@/data/queries/popular';
|
||||
@@ -17,11 +16,7 @@ const Top = () => {
|
||||
|
||||
queryClient.prefetchInfiniteQuery(popularQuery({ sortBy: 'vote_average.desc' }));
|
||||
|
||||
return (
|
||||
<ReactQueryStreamedHydration>
|
||||
<Container />
|
||||
</ReactQueryStreamedHydration>
|
||||
);
|
||||
return <Container />;
|
||||
};
|
||||
|
||||
export default Top;
|
||||
Reference in new issue
Block a user