Skip to content

Commit b9c2b92

Browse files
committed
Fix @apollo/client usage
1 parent 9ca95c9 commit b9c2b92

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/partials/Points/PointsImpl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from "react"
22
import withSimpleErrorBoundary from "../../util/withSimpleErrorBoundary"
33
import CourseSettings from "../../../course-settings"
44

5-
import { useQuery } from "@apollo/client"
5+
import { useQuery } from "@apollo/client/react"
66
import { gql } from "apollo-boost"
77
import { Button } from "@material-ui/core"
88
import OverallPoints from "./OverallPoints"

src/partials/Points/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from "react"
22
import PointsImpl from "./PointsImpl"
33
import ApolloClient from "apollo-boost"
4-
import { ApolloProvider } from "@apollo/client"
4+
import { ApolloProvider } from "@apollo/client/react"
55
import { accessToken } from "../../services/moocfi"
66

77
export default class Points extends React.Component {

0 commit comments

Comments
 (0)