From b43d4432933cf1532138217cdb08961241047815 Mon Sep 17 00:00:00 2001 From: gwansikk Date: Wed, 25 Dec 2024 23:29:14 +0900 Subject: [PATCH] fix(react-query): react.node types in QueryClientProvider --- packages/react-query-persist-client/package.json | 4 ++-- packages/react-query/src/QueryClientProvider.tsx | 2 +- pnpm-lock.yaml | 14 +++++++------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/react-query-persist-client/package.json b/packages/react-query-persist-client/package.json index 84a571d809..ea13caab62 100644 --- a/packages/react-query-persist-client/package.json +++ b/packages/react-query-persist-client/package.json @@ -42,10 +42,10 @@ "devDependencies": { "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", - "react": "^18.2.0", + "react": "^19.0.0", "react-17": "npm:react@^17.0.2", "react-18": "npm:react@^18.0.14", - "react-dom": "^18.2.0", + "react-dom": "^19.0.0", "react-dom-17": "npm:react-dom@^17.0.2", "react-dom-18": "npm:react-dom@^18.0.5", "@tanstack/react-query": "workspace:*" diff --git a/packages/react-query/src/QueryClientProvider.tsx b/packages/react-query/src/QueryClientProvider.tsx index da4ba57880..2327424512 100644 --- a/packages/react-query/src/QueryClientProvider.tsx +++ b/packages/react-query/src/QueryClientProvider.tsx @@ -73,7 +73,7 @@ export const QueryClientProvider = ({ children, context, contextSharing = false, -}: QueryClientProviderProps): JSX.Element => { +}: QueryClientProviderProps) => { React.useEffect(() => { client.mount() return () => { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f9bb063ad6..3932594b69 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1380,8 +1380,8 @@ importers: specifier: ^19.0.0 version: 19.0.0 react: - specifier: ^18.2.0 - version: 18.2.0 + specifier: ^19.0.0 + version: 19.0.0 react-17: specifier: npm:react@^17.0.2 version: /react@17.0.2 @@ -1389,14 +1389,14 @@ importers: specifier: npm:react@^18.0.14 version: /react@18.2.0 react-dom: - specifier: ^18.2.0 - version: 18.2.0(react@18.2.0) + specifier: ^19.0.0 + version: 19.0.0(react@19.0.0) react-dom-17: specifier: npm:react-dom@^17.0.2 - version: /react-dom@17.0.2(react@18.2.0) + version: /react-dom@17.0.2(react@19.0.0) react-dom-18: specifier: npm:react-dom@^18.0.5 - version: /react-dom@18.2.0(react@18.2.0) + version: /react-dom@18.2.0(react@19.0.0) packages/solid-query: dependencies: @@ -7530,7 +7530,7 @@ packages: /@types/babel__core@7.1.19: resolution: {integrity: sha512-WEOTgRsbYkvA/KCsDwVEGkd7WAr1e3g31VHQ8zy5gul/V1qKullU/BU5I68X5v7V3GnB9eotmom4v5a5gjxorw==} dependencies: - '@babel/parser': 7.19.1 + '@babel/parser': 7.26.3 '@babel/types': 7.19.0 '@types/babel__generator': 7.6.4 '@types/babel__template': 7.4.1