@swan-io/graphql-client
Advanced tools
Comparing version 0.1.0-alpha18 to 0.1.0-alpha19
@@ -1261,3 +1261,3 @@ 'use strict'; | ||
const asyncDataToExpose = isReloading ? boxed.AsyncData.Loading() : isLoading ? previousAsyncData : asyncData; | ||
if (suspense && asyncDataToExpose.isLoading()) { | ||
if (suspense && isSuspenseFirstFetch.current && asyncDataToExpose.isLoading()) { | ||
throw client.query(stableQuery, stableVariables[1], { optimize }).toPromise(); | ||
@@ -1264,0 +1264,0 @@ } |
{ | ||
"name": "@swan-io/graphql-client", | ||
"version": "0.1.0-alpha18", | ||
"version": "0.1.0-alpha19", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "A simple, typesafe GraphQL client for React", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
291799