mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-22 07:52:43 +00:00
Disable vue-apollo network handler for now
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
e2721af456
commit
5f291336fd
1 changed files with 1 additions and 7 deletions
|
@ -13,7 +13,6 @@ import buildCurrentUserResolver from "@/apollo/user";
|
|||
import { isServerError } from "@/types/apollo";
|
||||
import { AUTH_ACCESS_TOKEN } from "@/constants";
|
||||
import { logout } from "@/utils/auth";
|
||||
import { SnackbarProgrammatic as Snackbar } from "buefy";
|
||||
import { Socket as PhoenixSocket } from "phoenix";
|
||||
import * as AbsintheSocket from "@absinthe/socket";
|
||||
import { createAbsintheSocketLink } from "@absinthe/socket-apollo-link";
|
||||
|
@ -123,12 +122,7 @@ const errorLink = onError(
|
|||
}
|
||||
|
||||
if (networkError) {
|
||||
console.log(`[Network error]: ${networkError}`);
|
||||
Snackbar.open({
|
||||
message: "Please refresh the page and retry.",
|
||||
type: "is-danger",
|
||||
position: "is-bottom",
|
||||
});
|
||||
console.error(`[Network error]: ${networkError}`);
|
||||
}
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue