diff --git a/app/root.tsx b/app/root.tsx index af82a43..4812665 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -1,4 +1,3 @@ -import { QueryClient, QueryClientProvider } from '@tanstack/react-query' import type { ReactNode } from 'react' import { isRouteErrorResponse, @@ -58,14 +57,8 @@ export function Layout({ children }: { children: ReactNode }) { ) } -const queryClient = new QueryClient() - export default function App() { - return ( - - - - ) + return } export function ErrorBoundary({ error }: Route.ErrorBoundaryProps) { diff --git a/package.json b/package.json index d3ed87d..2cb7b9a 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,6 @@ "@react-router/fs-routes": "^7.1.3", "@react-router/node": "^7.1.3", "@react-router/serve": "^7.1.3", - "@tanstack/react-query": "^5.66.9", "chart.js": "^4.4.8", "class-variance-authority": "^0.7.1", "datatables.net-dt": "^2.2.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1794cb0..0626dcc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -23,9 +23,6 @@ importers: '@react-router/serve': specifier: ^7.1.3 version: 7.1.3(react-router@7.1.3(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(typescript@5.7.3) - '@tanstack/react-query': - specifier: ^5.66.9 - version: 5.66.9(react@19.0.0) chart.js: specifier: ^4.4.8 version: 4.4.8 @@ -1369,14 +1366,6 @@ packages: peerDependencies: eslint: ^8.57.0 || ^9.0.0 - '@tanstack/query-core@5.66.4': - resolution: {integrity: sha512-skM/gzNX4shPkqmdTCSoHtJAPMTtmIJNS0hE+xwTTUVYwezArCT34NMermABmBVUg5Ls5aiUXEDXfqwR1oVkcA==} - - '@tanstack/react-query@5.66.9': - resolution: {integrity: sha512-NRI02PHJsP5y2gAuWKP+awamTIBFBSKMnO6UVzi03GTclmHHHInH5UzVgzi5tpu4+FmGfsdT7Umqegobtsp23A==} - peerDependencies: - react: ^18 || ^19 - '@tanstack/react-virtual@3.13.0': resolution: {integrity: sha512-CchF0NlLIowiM2GxtsoKBkXA4uqSnY2KvnXo+kyUFD4a4ll6+J0qzoRsUPMwXV/H26lRsxgJIr/YmjYum2oEjg==} peerDependencies: @@ -5524,13 +5513,6 @@ snapshots: - supports-color - typescript - '@tanstack/query-core@5.66.4': {} - - '@tanstack/react-query@5.66.9(react@19.0.0)': - dependencies: - '@tanstack/query-core': 5.66.4 - react: 19.0.0 - '@tanstack/react-virtual@3.13.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: '@tanstack/virtual-core': 3.13.0