Skip to content

Commit 6f3cd2d

Browse files
Bump @apollo/client from 3.10.4 to 3.11.3 in /frontend (#3957)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marco Acierno <marcoaciernoemail@gmail.com>
1 parent f6ac782 commit 6f3cd2d

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"test": "jest src/"
1515
},
1616
"dependencies": {
17-
"@apollo/client": "^3.7.3",
17+
"@apollo/client": "^3.11.3",
1818
"@graphql-codegen/add": "^5.0.3",
1919
"@graphql-codegen/cli": "^2.11.3",
2020
"@graphql-codegen/fragment-matcher": "^3.3.0",

frontend/pnpm-lock.yaml

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/src/apollo/create-client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ import {
55
InMemoryCache,
66
} from "@apollo/client";
77
import { onError } from "@apollo/client/link/error";
8-
import type { GraphQLError } from "graphql";
8+
import type { GraphQLFormattedError } from "graphql";
99

1010
import { setLoginState } from "../components/profile/hooks";
1111
import introspectionQueryResultData from "../generated/fragment-types.json";
1212

13-
const isUserLoggedOut = (graphErrors: readonly GraphQLError[]) =>
13+
const isUserLoggedOut = (graphErrors: readonly GraphQLFormattedError[]) =>
1414
!!graphErrors.find(
1515
(e) =>
1616
e.message === "User not logged in" || e.message === "Not authenticated",

0 commit comments

Comments
 (0)