File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 33 */
44
55export * from './ApolloErrorProcessor' ;
6+ export * from './handleApolloError' ;
67export * from './mutation' ;
78export * from './query' ;
89export * from './subscription' ;
Original file line number Diff line number Diff line change @@ -90,7 +90,11 @@ export async function mutateWithErrorHandling<
9090 client ?: ApolloMutationClient < TResult , TVariables > ,
9191) : Promise < MutationResult < TResult > > {
9292 const mutate =
93- client === undefined ? app . $apollo : typeof client === 'function' ? client : client . mutate . bind ( client ) ;
93+ client === undefined
94+ ? app . $apollo . mutate . bind ( app . $apollo )
95+ : typeof client === 'function'
96+ ? client
97+ : client . mutate . bind ( client ) ;
9498
9599 try {
96100 const result = await mutate ( {
You can’t perform that action at this time.
0 commit comments