Skip to content

Commit

Permalink
fix: importing react -_-'
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Jul 19, 2021
1 parent 213c4c4 commit f53bcde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vue-apollo-composable/src/util/toApolloError.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ApolloError, isApolloError } from '@apollo/client'
import { ApolloError, isApolloError } from '@apollo/client/core'

This comment has been minimized.

Copy link
@backbone87

backbone87 Jul 20, 2021

Contributor

i noticed that react dependency while running the tests locally, but I couldn't associate it with having to use a specific import path.

This comment has been minimized.

Copy link
@Akryum

Akryum Jul 20, 2021

Author Member

I know right? It's dumb -_-

This comment has been minimized.

Copy link
@glen-84

glen-84 Jul 22, 2021


export function toApolloError (error: unknown): ApolloError {
if (!(error instanceof Error)) {
Expand Down

0 comments on commit f53bcde

Please sign in to comment.