Skip to content

Commit

Permalink
fix(eslint) responde cache does not exists in relay envinroment
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiago-Mota-Santos committed Oct 17, 2023
1 parent 396486a commit dc92098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/relay/ReactRelayContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function Hydrate<T>({
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,
Expand Down

1 comment on commit dc92098

@vercel
Copy link

@vercel vercel bot commented on dc92098 Oct 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

api-relay – ./apps/server

api-relay-thiago-mota-santos.vercel.app
api-relay-git-main-thiago-mota-santos.vercel.app
api-relay.vercel.app

Please sign in to comment.