Hasura Migrations for parts order, parts order line objects. Fixed error on whiteboard component card.

This commit is contained in:
Patrick Fic
2020-01-07 14:06:41 -08:00
parent 62e71dfa5b
commit e65273f2b6
39 changed files with 732 additions and 20 deletions

View File

@@ -5,6 +5,10 @@ import { auth } from "../firebase/firebase.utils";
const errorLink = onError(
({ graphQLErrors, networkError, operation, forward }) => {
let access_token = window.localStorage.getItem("token");
console.log("graphQLErrors", graphQLErrors);
console.log("networkError", networkError);
console.log("operation", operation);
console.log("forward", forward);
if (graphQLErrors) {
// User access token has expired
if (graphQLErrors[0].message.includes("JWTExpired")) {