From dbbbd10b1a5f2c23c71fe1a7a6e38f0c60d662a6 Mon Sep 17 00:00:00 2001 From: Lenz Weber-Tronic Date: Fri, 22 Sep 2023 14:42:47 +0200 Subject: [PATCH] fixup generic `Query` HOC types --- src/react/components/Query.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/react/components/Query.tsx b/src/react/components/Query.tsx index 1e5611f646a..3953e01d14c 100644 --- a/src/react/components/Query.tsx +++ b/src/react/components/Query.tsx @@ -9,7 +9,7 @@ export function Query< TVariables extends OperationVariables = OperationVariables, >(props: QueryComponentOptions) { const { children, query, ...options } = props; - const result = useQuery(query, options); + const result = useQuery(query, options); return result ? children(result as any) : null; }