no-urql-cache

This commit is contained in:
tonyrewin 2022-11-19 16:43:25 +03:00
parent d728db06cf
commit 331ae50428
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
"check": "npm run lint && npm run typecheck", "check": "npm run lint && npm run typecheck",
"codegen": "graphql-codegen", "codegen": "graphql-codegen",
"deploy": "graphql-codegen && npm run typecheck && astro telemetry disable && astro build && vercel", "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", "ffix": "npm run fix && npm run format",
"fix": "npm run lint:code:fix && npm run lint:styles:fix", "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", "format": "npx prettier \"{,!(node_modules)/**/}*.{js,ts,tsx,json,scss,css}\" --write --ignore-path .gitignore",

View File

@ -4,7 +4,7 @@ import { isDev, apiBaseUrl } from '../utils/config'
import { initClient } from './client' import { initClient } from './client'
import { cache } from './cache' import { cache } from './cache'
const exchanges: Exchange[] = [dedupExchange, fetchExchange, cache] const exchanges: Exchange[] = [dedupExchange, fetchExchange] //, cache]
if (isDev) { if (isDev) {
exchanges.unshift(devtoolsExchange) exchanges.unshift(devtoolsExchange)