diff --git a/package.json b/package.json index bd36a9c..a47b360 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "description": "SolidJS tRPC", "author": "OrJDev", "license": "MIT", - "version": "0.0.2-rc.1", + "version": "0.0.3-rc.1", "publishConfig": { "access": "public", "tag": "next" diff --git a/src/shared/hooks/createHooksInternal.tsx b/src/shared/hooks/createHooksInternal.tsx index 9081c3e..27f06fc 100644 --- a/src/shared/hooks/createHooksInternal.tsx +++ b/src/shared/hooks/createHooksInternal.tsx @@ -441,7 +441,7 @@ export function createHooksInternal< TContext > { const ctx = useContext(); - const queryClient = useQueryClient(); + const queryClient = useQueryClient({ context: SolidQueryContext }); const hook = __useMutation( (input) => {