Skip to content

Commit

Permalink
Merge pull request #111 from DuckyMomo20012/tanstack-query-v5
Browse files Browse the repository at this point in the history
refactor: migrate to tanstack query v5
  • Loading branch information
DuckyMomo20012 authored Oct 19, 2023
2 parents 0665453 + 3c7a593 commit e59b236
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 52 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"@mantine/core": "7.1.5",
"@mantine/hooks": "7.1.5",
"@reduxjs/toolkit": "1.9.7",
"@tanstack/react-query": "4.35.7",
"@tanstack/react-query-devtools": "4.35.7",
"@tanstack/react-query": "5.0.0",
"@tanstack/react-query-devtools": "5.0.1",
"axios": "1.5.1",
"clsx": "2.0.0",
"hash-wasm": "4.10.0",
Expand Down
69 changes: 20 additions & 49 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/context/QueryProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const QueryProvider = ({ children }: { children?: React.ReactNode }) => {
<QueryClientProvider client={queryClient}>
<>
{children}
<ReactQueryDevtools initialIsOpen={false} position="bottom-right" />
<ReactQueryDevtools initialIsOpen={false} />
</>
</QueryClientProvider>
);
Expand Down

1 comment on commit e59b236

@vercel
Copy link

@vercel vercel bot commented on e59b236 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.