Hasura Migrations for parts order, parts order line objects. Fixed error on whiteboard component card.
This commit is contained in:
@@ -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")) {
|
||||
|
||||
Reference in New Issue
Block a user