Images upload as resized images. Added location hash for jobs detail page.
This commit is contained in:
@@ -9,15 +9,12 @@ const errorLink = onError(
|
||||
console.log("networkError", networkError);
|
||||
console.log("operation", operation);
|
||||
console.log("forward", forward);
|
||||
if (graphQLErrors) {
|
||||
if (graphQLErrors[0]?.message.includes("JWTExpired") || networkError?.message.includes("JWTExpired")) {
|
||||
//User access token has expired
|
||||
console.log("graphQLErrors", graphQLErrors);
|
||||
}
|
||||
|
||||
if (networkError) {
|
||||
console.log(`[Network error]: ${networkError}`);
|
||||
//props.history.push("/network-error");
|
||||
if (networkError.message.includes("JWTExpired")) {
|
||||
if (networkError?.message?.includes("JWTExpired")) {
|
||||
console.log("Got to the error check.");
|
||||
if (access_token && access_token !== "undefined") {
|
||||
// Let's refresh token through async request
|
||||
|
||||
Reference in New Issue
Block a user