Manage Profile Pages
This commit is contained in:
@@ -4,6 +4,7 @@ import { auth } from "../firebase/firebase.utils";
|
||||
//https://stackoverflow.com/questions/57163454/refreshing-a-token-with-apollo-client-firebase-auth
|
||||
const errorLink = onError(
|
||||
({ graphQLErrors, networkError, operation, forward }) => {
|
||||
console.log("In gql error")
|
||||
let access_token = window.localStorage.getItem("token");
|
||||
if (graphQLErrors) {
|
||||
// User access token has expired
|
||||
|
||||
Reference in New Issue
Block a user