We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ca95c9 commit b9c2b92Copy full SHA for b9c2b92
2 files changed
src/partials/Points/PointsImpl.js
@@ -2,7 +2,7 @@ import React from "react"
2
import withSimpleErrorBoundary from "../../util/withSimpleErrorBoundary"
3
import CourseSettings from "../../../course-settings"
4
5
-import { useQuery } from "@apollo/client"
+import { useQuery } from "@apollo/client/react"
6
import { gql } from "apollo-boost"
7
import { Button } from "@material-ui/core"
8
import OverallPoints from "./OverallPoints"
src/partials/Points/index.js
@@ -1,7 +1,7 @@
1
import React from "react"
import PointsImpl from "./PointsImpl"
import ApolloClient from "apollo-boost"
-import { ApolloProvider } from "@apollo/client"
+import { ApolloProvider } from "@apollo/client/react"
import { accessToken } from "../../services/moocfi"
export default class Points extends React.Component {
0 commit comments