From 172e01d645b27ae7571b57a377e907b8f28d77c6 Mon Sep 17 00:00:00 2001 From: Whitney Beck Date: Mon, 3 Jun 2024 15:28:05 -0700 Subject: [PATCH] fix(types): Pass TOperationType to usePreloadQuery's loadQuery parameter --- src/usePreloadedQuery.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/usePreloadedQuery.ts b/src/usePreloadedQuery.ts index 37e02386..62b2b8e3 100644 --- a/src/usePreloadedQuery.ts +++ b/src/usePreloadedQuery.ts @@ -5,7 +5,7 @@ import { useForceUpdate } from './useForceUpdate'; import { useRelayEnvironment } from './useRelayEnvironment'; export const usePreloadedQuery = ( - loadQuery: LoadQuery, + loadQuery: LoadQuery, ): RenderProps => { const forceUpdate = useForceUpdate(); const environment = useRelayEnvironment();