Skip to content

Commit

Permalink
fix executing standby queries in ssr
Browse files Browse the repository at this point in the history
  • Loading branch information
atarek12 committed Feb 1, 2022
1 parent 4c7b4c1 commit db57b90
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 @@ -53,6 +53,7 @@ export function useQuery<

if (
context.renderPromises &&
options?.fetchPolicy !== "standby" &&
options?.ssr !== false &&
!options?.skip &&
obsQuery.getCurrentResult().loading
Expand Down

0 comments on commit db57b90

Please sign in to comment.