From e282720aca5dad49fb33c91e9584525e44522a8b Mon Sep 17 00:00:00 2001 From: Antony Njuguna Date: Fri, 17 May 2024 13:59:55 +0300 Subject: [PATCH] Fix RefetchOptions onComplete type --- packages/nova-react/src/graphql/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nova-react/src/graphql/types.ts b/packages/nova-react/src/graphql/types.ts index 9743607..fabe3f0 100644 --- a/packages/nova-react/src/graphql/types.ts +++ b/packages/nova-react/src/graphql/types.ts @@ -89,7 +89,7 @@ export type FetchPolicy = | "store-only"; type RefetchOptions = { - onCompleted?: (error: Error | null) => void; + onComplete?: (error: Error | null) => void; fetchPolicy?: FetchPolicy; };