IO-760 Delete pictures in bulk & other minor fixes

This commit is contained in:
Patrick Fic
2021-03-12 10:52:05 -07:00
parent 09cc798951
commit a5ca1b61a3
11 changed files with 137 additions and 130 deletions

View File

@@ -1,19 +1,17 @@
//GQL Imports
import {
ApolloClient,
from,
HttpLink,
InMemoryCache,
split,
ApolloLink,
HttpLink,
from,
} from "@apollo/client";
import { setContext } from "@apollo/client/link/context";
import { onError } from "@apollo/client/link/error";
import { RetryLink } from "@apollo/client/link/retry";
import { WebSocketLink } from "@apollo/client/link/ws";
import { SubscriptionClient } from "subscriptions-transport-ws";
import { auth } from "../firebase/firebase.utils";
import { onError } from "@apollo/client/link/error";
import { getMainDefinition } from "@apollo/client/utilities";
import { auth } from "../firebase/firebase.utils";
const httpLink = new HttpLink({
// uri: "https://bodyshop-dev-db.herokuapp.com/v1/graphql",
@@ -53,7 +51,6 @@ const errorLink = onError(
);
if (networkError)
console.error(`[Network error]: ${JSON.stringify(networkError)}`);
console.log(operation.getContext());
}
);