Skip to content

Commit

Permalink
rebase onto main branch, fixing queries with fetchPolicy = "standby"
Browse files Browse the repository at this point in the history
  • Loading branch information
atarek12 committed May 4, 2022
1 parent e7dc593 commit 7393757
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/react/hooks/useQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ class InternalState<TData, TVariables> {
this.renderPromises.registerSSRObservable(obsQuery);

const ssrAllowed = !(
this.watchQueryOptions.fetchPolicy === 'standby' ||
this.queryHookOptions.ssr === false ||
this.queryHookOptions.skip
);
Expand Down

0 comments on commit 7393757

Please sign in to comment.