Skip to content

Commit

Permalink
fix: resolveClient use id arg
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Oct 17, 2020
1 parent cfbb9da commit 4a9e959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vue-apollo-composable/src/useApolloClient.ts
Expand Up @@ -48,7 +48,7 @@ export function useApolloClient<TCacheShape = any>(clientId?: ClientId): UseApol
if (currentApolloClient) {
return currentApolloClient
} else if (id) {
return resolveClientWithId(providedApolloClients, clientId)
return resolveClientWithId(providedApolloClients, id)
}
return resolveDefaultClient(providedApolloClients, providedApolloClient)
}
Expand Down

0 comments on commit 4a9e959

Please sign in to comment.