From 331ae50428b4faeeca88eee526f11a1b083a9b76 Mon Sep 17 00:00:00 2001 From: tonyrewin Date: Sat, 19 Nov 2022 16:43:25 +0300 Subject: [PATCH] no-urql-cache --- package.json | 2 +- src/graphql/publicGraphQLClient.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a962ee75..e4730d8b 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "check": "npm run lint && npm run typecheck", "codegen": "graphql-codegen", "deploy": "graphql-codegen && npm run typecheck && astro telemetry disable && astro build && vercel", - "dev": "astro dev", + "dev": "astro telemetry disable && astro dev", "ffix": "npm run fix && npm run format", "fix": "npm run lint:code:fix && npm run lint:styles:fix", "format": "npx prettier \"{,!(node_modules)/**/}*.{js,ts,tsx,json,scss,css}\" --write --ignore-path .gitignore", diff --git a/src/graphql/publicGraphQLClient.ts b/src/graphql/publicGraphQLClient.ts index a7073d1c..657ea6d9 100644 --- a/src/graphql/publicGraphQLClient.ts +++ b/src/graphql/publicGraphQLClient.ts @@ -4,7 +4,7 @@ import { isDev, apiBaseUrl } from '../utils/config' import { initClient } from './client' import { cache } from './cache' -const exchanges: Exchange[] = [dedupExchange, fetchExchange, cache] +const exchanges: Exchange[] = [dedupExchange, fetchExchange] //, cache] if (isDev) { exchanges.unshift(devtoolsExchange)