Skip to content

Commit

Permalink
feat(core): Migrating @tanstack/react-query to v5
Browse files Browse the repository at this point in the history
  • Loading branch information
wootsbot committed Oct 19, 2023
1 parent ba4fc54 commit bc0c5a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
6 changes: 0 additions & 6 deletions providers/getQuery.client.ts

This file was deleted.

9 changes: 5 additions & 4 deletions providers/hydrate.client.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
"use client";
'use client';

import { Hydrate as RQHydrate, HydrateProps } from "@tanstack/react-query";
import type { HydrationBoundaryProps } from '@tanstack/react-query';
import { HydrationBoundary } from '@tanstack/react-query';

function Hydrate(props: HydrateProps) {
return <RQHydrate {...props} />;
function Hydrate(props: HydrationBoundaryProps) {
return <HydrationBoundary {...props} />;
}

export default Hydrate;

1 comment on commit bc0c5a1

@vercel
Copy link

@vercel vercel bot commented on bc0c5a1 Oct 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.