From 07c0c4e7b133a25e4604fd489182366e114e8811 Mon Sep 17 00:00:00 2001 From: yyh <92089059+lyzno1@users.noreply.github.com> Date: Mon, 1 Jun 2026 11:57:50 +0800 Subject: [PATCH] chore(web): remove TanStack devtools (#36882) --- pnpm-lock.yaml | 276 ------------------ pnpm-workspace.yaml | 3 - .../components/devtools/tanstack/loader.tsx | 27 -- web/context/query-client.tsx | 2 - web/package.json | 3 - 5 files changed, 311 deletions(-) delete mode 100644 web/app/components/devtools/tanstack/loader.tsx diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5a6114e814..9a7a9b8ac0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -162,24 +162,15 @@ catalogs: '@tanstack/eslint-plugin-query': specifier: 5.100.14 version: 5.100.14 - '@tanstack/react-devtools': - specifier: 0.10.5 - version: 0.10.5 '@tanstack/react-form': specifier: 1.32.0 version: 1.32.0 - '@tanstack/react-form-devtools': - specifier: 0.2.27 - version: 0.2.27 '@tanstack/react-hotkeys': specifier: 0.10.0 version: 0.10.0 '@tanstack/react-query': specifier: 5.100.14 version: 5.100.14 - '@tanstack/react-query-devtools': - specifier: 5.100.14 - version: 5.100.14 '@tanstack/react-virtual': specifier: 3.13.25 version: 3.13.25 @@ -1372,15 +1363,6 @@ importers: '@tanstack/eslint-plugin-query': specifier: 'catalog:' version: 5.100.14(eslint@10.4.0(jiti@2.7.0))(typescript@6.0.3) - '@tanstack/react-devtools': - specifier: 'catalog:' - version: 0.10.5(@types/react-dom@19.2.3(@types/react@19.2.15))(@types/react@19.2.15)(csstype@3.2.3)(react-dom@19.2.6(react@19.2.6))(react@19.2.6) - '@tanstack/react-form-devtools': - specifier: 'catalog:' - version: 0.2.27(@types/react@19.2.15)(csstype@3.2.3)(react@19.2.6)(solid-js@1.9.13) - '@tanstack/react-query-devtools': - specifier: 'catalog:' - version: 5.100.14(@tanstack/react-query@5.100.14(react@19.2.6))(react@19.2.6) '@testing-library/dom': specifier: 'catalog:' version: 10.4.1 @@ -4128,36 +4110,6 @@ packages: '@socket.io/component-emitter@3.1.2': resolution: {integrity: sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==} - '@solid-primitives/event-listener@2.4.5': - resolution: {integrity: sha512-nwRV558mIabl4yVAhZKY8cb6G+O1F0M6Z75ttTu5hk+SxdOnKSGj+eetDIu7Oax1P138ZdUU01qnBPR8rnxaEA==} - peerDependencies: - solid-js: 1.9.13 - - '@solid-primitives/keyboard@1.3.5': - resolution: {integrity: sha512-sav+l+PL+74z3yaftVs7qd8c2SXkqzuxPOVibUe5wYMt+U5Hxp3V3XCPgBPN2I6cANjvoFtz0NiU8uHVLdi9FQ==} - peerDependencies: - solid-js: 1.9.13 - - '@solid-primitives/resize-observer@2.1.5': - resolution: {integrity: sha512-AiyTknKcNBaKHbcSMuxtSNM8FjIuiSuFyFghdD0TcCMU9hKi9EmsC5pjfjDwxE+5EueB1a+T/34PLRI5vbBbKw==} - peerDependencies: - solid-js: 1.9.13 - - '@solid-primitives/rootless@1.5.3': - resolution: {integrity: sha512-N8cIDAHbWcLahNRLr0knAAQvXyEdEMoAZvIMZKmhNb1mlx9e2UOv9BRD5YNwQUJwbNoYVhhLwFOEOcVXFx0HqA==} - peerDependencies: - solid-js: 1.9.13 - - '@solid-primitives/static-store@0.1.3': - resolution: {integrity: sha512-uxez7SXnr5GiRnzqO2IEDjOJRIXaG+0LZLBizmUA1FwSi+hrpuMzVBwyk70m4prcl8X6FDDXUl9O8hSq8wHbBQ==} - peerDependencies: - solid-js: 1.9.13 - - '@solid-primitives/utils@6.4.0': - resolution: {integrity: sha512-AeGTBg8Wtkh/0s+evyLtP8piQoS4wyqqQaAFs2HJcFMMjYAtUgo+ZPduRXLjPlqKVc2ejeR544oeqpbn8Egn8A==} - peerDependencies: - solid-js: 1.9.13 - '@standard-schema/spec@1.0.0': resolution: {integrity: sha512-m2bOd0f2RT9k8QJx1JN85cZYyH1RqFBdlwtkSlf4tBDYLCiiZnv1fIIwacK6cqwXavOydf0NPToMQgpKq+dVlA==} @@ -4439,50 +4391,11 @@ packages: peerDependencies: vite: ^5.2.0 || ^6 || ^7 || ^8 - '@tanstack/devtools-client@0.0.6': - resolution: {integrity: sha512-f85ZJXJnDIFOoykG/BFIixuAevJovCvJF391LPs6YjBAPhGYC50NWlx1y4iF/UmK5/cCMx+/JqI5SBOz7FanQQ==} - engines: {node: '>=18'} - - '@tanstack/devtools-event-bus@0.4.1': - resolution: {integrity: sha512-cNnJ89Q021Zf883rlbBTfsaxTfi2r73/qejGtyTa7ksErF3hyDyAq1aTbo5crK9dAL7zSHh9viKY1BtMls1QOA==} - engines: {node: '>=18'} - '@tanstack/devtools-event-client@0.4.3': resolution: {integrity: sha512-OZI6QyULw0FI0wjgmeYzCIfbgPsOEzwJtCpa69XrfLMtNXLGnz3d/dIabk7frg0TmHo+Ah49w5I4KC7Tufwsvw==} engines: {node: '>=18'} hasBin: true - '@tanstack/devtools-ui@0.5.2': - resolution: {integrity: sha512-GtaMk8kaGZ9ZdR8Pu5RAfcse/ZrxzH/xsAIFtHMapLs2VMqSPFfb1NvIDO1MAAfUcub8Ix8XKQEP0uYSPzoFKw==} - engines: {node: '>=18'} - - '@tanstack/devtools-utils@0.4.0': - resolution: {integrity: sha512-KsGzYhA8L/fCNgyyMyoUy+TKtx+DjNbzWwqH6wXL48Llzo7kvV9RynYJlaO8Qkzwm+NdHXSgsljQNjQ3CKPpZA==} - engines: {node: '>=18'} - hasBin: true - peerDependencies: - '@types/react': '>=17.0.0' - preact: '>=10.0.0' - react: '>=17.0.0' - solid-js: 1.9.13 - vue: '>=3.2.0' - peerDependenciesMeta: - '@types/react': - optional: true - preact: - optional: true - react: - optional: true - solid-js: - optional: true - vue: - optional: true - - '@tanstack/devtools@0.12.2': - resolution: {integrity: sha512-Xdl8pLzoDUvXaclQ0poY36WAPx0jEHk8vqUFd8FYFUm1BMshtB7RnTgD1HE9jCAXODxqw9I0gXBiUZLK3o3+Bw==} - engines: {node: '>=18'} - hasBin: true - '@tanstack/eslint-plugin-query@5.100.14': resolution: {integrity: sha512-NbpiBCmeHTRuVHeV5+U+1bzmxyTW5Dzp2sCeE6Hx+ZJTJWFK9dsm8VZmRc7LQP9/ZORsF620PvgUk67AwiBo4A==} peerDependencies: @@ -4495,11 +4408,6 @@ packages: '@tanstack/form-core@1.32.0': resolution: {integrity: sha512-Tn5VRDSjyqjmaet2tJMuEWDRFyrCaon03vxXPlSSaiSs6C/N7lCIwGCXJbZXEUq1kTj8jYN9qyXHbsz4LQHcow==} - '@tanstack/form-devtools@0.2.27': - resolution: {integrity: sha512-h91foKH1RtUwJC1079kwcNQlO1LYBKdIY5n7kHGGjNTQiH0wLSIBJnxZnOxOJ1qaSjErTqJw5e9sIj3O+zyRYg==} - peerDependencies: - solid-js: 1.9.13 - '@tanstack/hotkeys@0.8.0': resolution: {integrity: sha512-vqH7X9nb0MTJ/O08++dB5bP9jgj4+BIPOUu/U+6myG86lDsirZSVSobpq5UQpE7nBuk62i8eIYeOhd+OMl/UrA==} engines: {node: '>=18'} @@ -4511,23 +4419,6 @@ packages: '@tanstack/query-core@5.100.14': resolution: {integrity: sha512-5X41dGpxgeaHISCRW2oYwcSycZeULZzAunaudXT9ov1KOTj9xwt0CH6hbwqP1/z74ZWF7rYFnDpyYH07XFcZew==} - '@tanstack/query-devtools@5.100.14': - resolution: {integrity: sha512-g96SmSSQecYTYcyuAMRXr895GplJv01UGt7qttQWPOUyZ5EGz5tbRc589bMc2m5BsPFD6O0PCEAHdbDYNP6UBw==} - - '@tanstack/react-devtools@0.10.5': - resolution: {integrity: sha512-orVsRJ7oAXFb7oyafQCgx9YuK44jpILh5T/ddYuxAsolNfN5DZBr5/NLrWErD7HCGIzvYzg1TZI4sPxmiKvtvA==} - engines: {node: '>=18'} - peerDependencies: - '@types/react': '>=16.8' - '@types/react-dom': '>=16.8' - react: '>=16.8' - react-dom: '>=16.8' - - '@tanstack/react-form-devtools@0.2.27': - resolution: {integrity: sha512-c7ugxpwxPBrT2nMYFPaW448SVxYvdi+ruPU/UcFS6YYdQ5uJGqjOJDF+ObCHWxlNJQWIXQVIeqbDZ8UaNPOLTA==} - peerDependencies: - react: ^17.0.0 || ^18.0.0 || ^19.0.0 - '@tanstack/react-form@1.32.0': resolution: {integrity: sha512-6WP5SQTA6/H9crCpvpq3ZppYWqtrdE5NjOy6ebABi6uAQPqhfTzrdjS9t40mCZCFtGI5585OhJV6zBP/KN2zcw==} peerDependencies: @@ -4544,12 +4435,6 @@ packages: react: '>=16.8' react-dom: '>=16.8' - '@tanstack/react-query-devtools@5.100.14': - resolution: {integrity: sha512-JkP5VDgKOw3t/QSA1OABRHEqx8BuNs5MfvZRooNqdvN57SzTuGq3fKR1a2IH5rqa5HDLUm+FOXUEnB9ueHiLzg==} - peerDependencies: - '@tanstack/react-query': ^5.100.14 - react: ^18 || ^19 - '@tanstack/react-query@5.100.14': resolution: {integrity: sha512-oOr6aRdSFEwWhzxEkD/9ZcItM3+LjBSkeVmadWKwUssAHTsqd/7bOjWrX4AbvEkoEhgAxzN0Xk6H/aYzXiYBAw==} peerDependencies: @@ -6646,11 +6531,6 @@ packages: globrex@0.1.2: resolution: {integrity: sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==} - goober@2.1.18: - resolution: {integrity: sha512-2vFqsaDVIT9Gz7N6kAL++pLpp41l3PfDuusHcjnGLfR6+huZkl6ziX+zgVC3ZxpqWhzH6pyDdGrCeDhMIvwaxw==} - peerDependencies: - csstype: ^3.0.10 - graceful-fs@4.2.11: resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} @@ -8412,16 +8292,6 @@ packages: engines: {node: '>=10'} hasBin: true - seroval-plugins@1.5.1: - resolution: {integrity: sha512-4FbuZ/TMl02sqv0RTFexu0SP6V+ywaIe5bAWCCEik0fk17BhALgwvUDVF7e3Uvf9pxmwCEJsRPmlkUE6HdzLAw==} - engines: {node: '>=10'} - peerDependencies: - seroval: ^1.0 - - seroval@1.5.1: - resolution: {integrity: sha512-OwrZRZAfhHww0WEnKHDY8OM0U/Qs8OTfIDWhUD4BLpNJUfXK4cGmjiagGze086m+mhI+V2nD0gfbHEnJjb9STA==} - engines: {node: '>=10'} - server-only@0.0.1: resolution: {integrity: sha512-qepMx2JxAa5jjfzxG79yPPq+8BuFToHd1hm7kI+Z4zAq1ftQiP7HcxMhDDItrbtwVeLg/cY2JnKnrcFkmiswNA==} @@ -8480,9 +8350,6 @@ packages: resolution: {integrity: sha512-asJqbVBDsBCJx0pTqw3WfesSY0iRX+2xzWEWzrpcH7L6fLzrhyF8WPI8UaeM4YCuDfpwA/cgsdugMsmtz8EJeg==} engines: {node: '>=10.0.0'} - solid-js@1.9.13: - resolution: {integrity: sha512-6hJeJMOcEX8ktqjpDoJZEmld3ijvcvWBDtiXBm7f4332SiFN66QeAQI1REQshvyUoISsSeJ4PHDauKYbwao9JQ==} - sortablejs@1.15.7: resolution: {integrity: sha512-Kk8wLQPlS+yi1ZEf48a4+fzHa4yxjC30M/Sr2AnQu+f/MPwvvX9XjZ6OWejiz8crBsLwSq8GHqaxaET7u6ux0A==} @@ -11710,40 +11577,6 @@ snapshots: '@socket.io/component-emitter@3.1.2': {} - '@solid-primitives/event-listener@2.4.5(solid-js@1.9.13)': - dependencies: - '@solid-primitives/utils': 6.4.0(solid-js@1.9.13) - solid-js: 1.9.13 - - '@solid-primitives/keyboard@1.3.5(solid-js@1.9.13)': - dependencies: - '@solid-primitives/event-listener': 2.4.5(solid-js@1.9.13) - '@solid-primitives/rootless': 1.5.3(solid-js@1.9.13) - '@solid-primitives/utils': 6.4.0(solid-js@1.9.13) - solid-js: 1.9.13 - - '@solid-primitives/resize-observer@2.1.5(solid-js@1.9.13)': - dependencies: - '@solid-primitives/event-listener': 2.4.5(solid-js@1.9.13) - '@solid-primitives/rootless': 1.5.3(solid-js@1.9.13) - '@solid-primitives/static-store': 0.1.3(solid-js@1.9.13) - '@solid-primitives/utils': 6.4.0(solid-js@1.9.13) - solid-js: 1.9.13 - - '@solid-primitives/rootless@1.5.3(solid-js@1.9.13)': - dependencies: - '@solid-primitives/utils': 6.4.0(solid-js@1.9.13) - solid-js: 1.9.13 - - '@solid-primitives/static-store@0.1.3(solid-js@1.9.13)': - dependencies: - '@solid-primitives/utils': 6.4.0(solid-js@1.9.13) - solid-js: 1.9.13 - - '@solid-primitives/utils@6.4.0(solid-js@1.9.13)': - dependencies: - solid-js: 1.9.13 - '@standard-schema/spec@1.0.0': {} '@standard-schema/spec@1.1.0': {} @@ -12003,50 +11836,8 @@ snapshots: tailwindcss: 4.3.0 vite: '@voidzero-dev/vite-plus-core@0.1.22(@types/node@25.9.1)(esbuild@0.27.2)(jiti@2.7.0)(tsx@4.22.3)(typescript@6.0.3)(yaml@2.9.0)' - '@tanstack/devtools-client@0.0.6': - dependencies: - '@tanstack/devtools-event-client': 0.4.3 - - '@tanstack/devtools-event-bus@0.4.1': - dependencies: - ws: 8.21.0 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - '@tanstack/devtools-event-client@0.4.3': {} - '@tanstack/devtools-ui@0.5.2(csstype@3.2.3)': - dependencies: - clsx: 2.1.1 - dayjs: 1.11.20 - goober: 2.1.18(csstype@3.2.3) - solid-js: 1.9.13 - transitivePeerDependencies: - - csstype - - '@tanstack/devtools-utils@0.4.0(@types/react@19.2.15)(react@19.2.6)(solid-js@1.9.13)': - optionalDependencies: - '@types/react': 19.2.15 - react: 19.2.6 - solid-js: 1.9.13 - - '@tanstack/devtools@0.12.2(csstype@3.2.3)': - dependencies: - '@solid-primitives/event-listener': 2.4.5(solid-js@1.9.13) - '@solid-primitives/keyboard': 1.3.5(solid-js@1.9.13) - '@solid-primitives/resize-observer': 2.1.5(solid-js@1.9.13) - '@tanstack/devtools-client': 0.0.6 - '@tanstack/devtools-event-bus': 0.4.1 - '@tanstack/devtools-ui': 0.5.2(csstype@3.2.3) - clsx: 2.1.1 - goober: 2.1.18(csstype@3.2.3) - solid-js: 1.9.13 - transitivePeerDependencies: - - bufferutil - - csstype - - utf-8-validate - '@tanstack/eslint-plugin-query@5.100.14(eslint@10.4.0(jiti@2.7.0))(typescript@6.0.3)': dependencies: '@typescript-eslint/utils': 8.59.4(eslint@10.4.0(jiti@2.7.0))(typescript@6.0.3) @@ -12062,22 +11853,6 @@ snapshots: '@tanstack/pacer-lite': 0.1.1 '@tanstack/store': 0.9.3 - '@tanstack/form-devtools@0.2.27(@types/react@19.2.15)(csstype@3.2.3)(react@19.2.6)(solid-js@1.9.13)': - dependencies: - '@tanstack/devtools-ui': 0.5.2(csstype@3.2.3) - '@tanstack/devtools-utils': 0.4.0(@types/react@19.2.15)(react@19.2.6)(solid-js@1.9.13) - '@tanstack/form-core': 1.32.0 - clsx: 2.1.1 - dayjs: 1.11.20 - goober: 2.1.18(csstype@3.2.3) - solid-js: 1.9.13 - transitivePeerDependencies: - - '@types/react' - - csstype - - preact - - react - - vue - '@tanstack/hotkeys@0.8.0': dependencies: '@tanstack/store': 0.11.0 @@ -12086,32 +11861,6 @@ snapshots: '@tanstack/query-core@5.100.14': {} - '@tanstack/query-devtools@5.100.14': {} - - '@tanstack/react-devtools@0.10.5(@types/react-dom@19.2.3(@types/react@19.2.15))(@types/react@19.2.15)(csstype@3.2.3)(react-dom@19.2.6(react@19.2.6))(react@19.2.6)': - dependencies: - '@tanstack/devtools': 0.12.2(csstype@3.2.3) - '@types/react': 19.2.15 - '@types/react-dom': 19.2.3(@types/react@19.2.15) - react: 19.2.6 - react-dom: 19.2.6(react@19.2.6) - transitivePeerDependencies: - - bufferutil - - csstype - - utf-8-validate - - '@tanstack/react-form-devtools@0.2.27(@types/react@19.2.15)(csstype@3.2.3)(react@19.2.6)(solid-js@1.9.13)': - dependencies: - '@tanstack/devtools-utils': 0.4.0(@types/react@19.2.15)(react@19.2.6)(solid-js@1.9.13) - '@tanstack/form-devtools': 0.2.27(@types/react@19.2.15)(csstype@3.2.3)(react@19.2.6)(solid-js@1.9.13) - react: 19.2.6 - transitivePeerDependencies: - - '@types/react' - - csstype - - preact - - solid-js - - vue - '@tanstack/react-form@1.32.0(react-dom@19.2.6(react@19.2.6))(react@19.2.6)': dependencies: '@tanstack/form-core': 1.32.0 @@ -12127,12 +11876,6 @@ snapshots: react: 19.2.6 react-dom: 19.2.6(react@19.2.6) - '@tanstack/react-query-devtools@5.100.14(@tanstack/react-query@5.100.14(react@19.2.6))(react@19.2.6)': - dependencies: - '@tanstack/query-devtools': 5.100.14 - '@tanstack/react-query': 5.100.14(react@19.2.6) - react: 19.2.6 - '@tanstack/react-query@5.100.14(react@19.2.6)': dependencies: '@tanstack/query-core': 5.100.14 @@ -14476,10 +14219,6 @@ snapshots: globrex@0.1.2: {} - goober@2.1.18(csstype@3.2.3): - dependencies: - csstype: 3.2.3 - graceful-fs@4.2.11: {} h3@2.0.1-rc.22: @@ -16647,12 +16386,6 @@ snapshots: semver@7.7.4: {} - seroval-plugins@1.5.1(seroval@1.5.1): - dependencies: - seroval: 1.5.1 - - seroval@1.5.1: {} - server-only@0.0.1: {} sharp@0.34.5: @@ -16749,12 +16482,6 @@ snapshots: transitivePeerDependencies: - supports-color - solid-js@1.9.13: - dependencies: - csstype: 3.2.3 - seroval: 1.5.1 - seroval-plugins: 1.5.1(seroval@1.5.1) - sortablejs@1.15.7: {} source-map-js@1.2.1: {} @@ -17653,11 +17380,8 @@ time: '@tailwindcss/typography@0.5.19': '2025-09-24T14:49:08.735Z' '@tailwindcss/vite@4.3.0': '2026-05-08T20:25:50.670Z' '@tanstack/eslint-plugin-query@5.100.14': '2026-05-23T17:16:09.131Z' - '@tanstack/react-devtools@0.10.5': '2026-05-13T10:21:52.170Z' - '@tanstack/react-form-devtools@0.2.27': '2026-05-10T22:35:01.854Z' '@tanstack/react-form@1.32.0': '2026-05-10T22:35:03.027Z' '@tanstack/react-hotkeys@0.10.0': '2026-04-25T12:28:06.989Z' - '@tanstack/react-query-devtools@5.100.14': '2026-05-23T17:16:15.324Z' '@tanstack/react-query@5.100.14': '2026-05-23T17:16:15.371Z' '@tanstack/react-virtual@3.13.25': '2026-05-20T20:14:23.050Z' '@testing-library/dom@10.4.1': '2025-07-27T13:23:37.151Z' diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index beaa275dfb..6be143f26a 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -97,12 +97,9 @@ catalog: '@tailwindcss/typography': 0.5.19 '@tailwindcss/vite': 4.3.0 '@tanstack/eslint-plugin-query': 5.100.14 - '@tanstack/react-devtools': 0.10.5 '@tanstack/react-form': 1.32.0 - '@tanstack/react-form-devtools': 0.2.27 '@tanstack/react-hotkeys': 0.10.0 '@tanstack/react-query': 5.100.14 - '@tanstack/react-query-devtools': 5.100.14 '@tanstack/react-virtual': 3.13.25 '@testing-library/dom': 10.4.1 '@testing-library/jest-dom': 6.9.1 diff --git a/web/app/components/devtools/tanstack/loader.tsx b/web/app/components/devtools/tanstack/loader.tsx deleted file mode 100644 index d32ed8fdc9..0000000000 --- a/web/app/components/devtools/tanstack/loader.tsx +++ /dev/null @@ -1,27 +0,0 @@ -'use client' - -import { TanStackDevtools } from '@tanstack/react-devtools' -import { formDevtoolsPlugin } from '@tanstack/react-form-devtools' - -import { ReactQueryDevtoolsPanel } from '@tanstack/react-query-devtools' -import { IS_DEV } from '@/config' - -export const TanStackDevtoolsLoader = () => { - if (!IS_DEV) - return null - - return ( - , - }, - - // Form Devtools (Official Plugin) - formDevtoolsPlugin(), - ]} - /> - ) -} diff --git a/web/context/query-client.tsx b/web/context/query-client.tsx index 38292bfc8c..2b95159396 100644 --- a/web/context/query-client.tsx +++ b/web/context/query-client.tsx @@ -2,7 +2,6 @@ import type { QueryClient } from '@tanstack/react-query' import { QueryClientProvider } from '@tanstack/react-query' -import { TanStackDevtoolsLoader } from '@/app/components/devtools/tanstack/loader' import { isServer } from '@/utils/client' import { makeQueryClient } from './query-client-server' @@ -22,7 +21,6 @@ export const TanstackQueryInitializer = ({ children }: { children: React.ReactNo return ( {children} - ) } diff --git a/web/package.json b/web/package.json index 8351a032ce..f6130ce2b3 100644 --- a/web/package.json +++ b/web/package.json @@ -178,9 +178,6 @@ "@tailwindcss/postcss": "catalog:", "@tailwindcss/vite": "catalog:", "@tanstack/eslint-plugin-query": "catalog:", - "@tanstack/react-devtools": "catalog:", - "@tanstack/react-form-devtools": "catalog:", - "@tanstack/react-query-devtools": "catalog:", "@testing-library/dom": "catalog:", "@testing-library/jest-dom": "catalog:", "@testing-library/react": "catalog:",