From dc9209881887db4942c8ea3b9880efa0296f7edb Mon Sep 17 00:00:00 2001 From: Thiago Date: Tue, 17 Oct 2023 17:36:32 -0300 Subject: [PATCH] fix(eslint) responde cache does not exists in relay envinroment --- apps/web/src/relay/ReactRelayContainer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/relay/ReactRelayContainer.tsx b/apps/web/src/relay/ReactRelayContainer.tsx index 0be172e..0d68bcd 100644 --- a/apps/web/src/relay/ReactRelayContainer.tsx +++ b/apps/web/src/relay/ReactRelayContainer.tsx @@ -51,7 +51,7 @@ function Hydrate({ for (const [queryName, { params, variables, response }] of Object.entries( preloadedQueries, ) as any) { - environment.getNetwork().responseCache.set(params.id, variables, response) + // environment.getNetwork().responseCache.set(params.id, variables, response) // TODO: create using a function exported from react-relay package queryRefs[queryName] = { environment,