Skip to content

Commit

Permalink
fix(useQuery): do not use finally
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Chau committed Dec 2, 2019
1 parent bf3a7e8 commit 1bf9552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vue-apollo-composable/src/useQuery.ts
Expand Up @@ -78,7 +78,7 @@ export function useQuery<
onServerPrefetch(() => new Promise((resolve, reject) => {
firstResolve = resolve
firstReject = reject
}).finally(stop))
}).then(stop).catch(stop))

// Apollo Client
const { resolveClient } = useApolloClient()
Expand Down

0 comments on commit 1bf9552

Please sign in to comment.