diff --git a/client/src/graphql/apollo-error-handling.js b/client/src/graphql/apollo-error-handling.js index 617b26278..3fdaa929c 100644 --- a/client/src/graphql/apollo-error-handling.js +++ b/client/src/graphql/apollo-error-handling.js @@ -1,6 +1,5 @@ import { onError } from "@apollo/client/link/error"; //https://stackoverflow.com/questions/57163454/refreshing-a-token-with-apollo-client-firebase-auth -import * as Sentry from "@sentry/react"; const errorLink = onError(({ graphQLErrors, networkError, operation, forward }) => { if (graphQLErrors) { diff --git a/client/src/utils/GraphQLClient.js b/client/src/utils/GraphQLClient.js index 689083139..1e316f894 100644 --- a/client/src/utils/GraphQLClient.js +++ b/client/src/utils/GraphQLClient.js @@ -7,9 +7,9 @@ import { getMainDefinition } from "@apollo/client/utilities"; //import { split } from "apollo-link"; import apolloLogger from "apollo-link-logger"; //import axios from "axios"; +import { SentryLink } from "apollo-link-sentry"; import { auth } from "../firebase/firebase.utils"; import errorLink from "../graphql/apollo-error-handling"; -import { SentryLink } from "apollo-link-sentry"; //import { store } from "../redux/store"; const httpLink = new HttpLink({