sdy

change react-apollo-hooks to @apollo/react-hooks

1 import React from "react"; 1 import React from "react";
2 import { gql } from "apollo-boost"; 2 import { gql } from "apollo-boost";
3 -import { useQuery } from "react-apollo-hooks"; 3 +import { useQuery } from "@apollo/react-hooks";
4 import { ThemeProvider } from "styled-components"; 4 import { ThemeProvider } from "styled-components";
5 import GlobalStyles from "../Styles/GlobalStyles"; 5 import GlobalStyles from "../Styles/GlobalStyles";
6 import Helmet from "./Helmet"; 6 import Helmet from "./Helmet";
......
1 import React from "react"; 1 import React from "react";
2 import ReactDOM from "react-dom"; 2 import ReactDOM from "react-dom";
3 import App from "./Components/App"; 3 import App from "./Components/App";
4 -import { ApolloProvider } from "react-apollo-hooks"; 4 +import { ApolloProvider } from "@apollo/react-hooks";
5 import Client from "./Apollo/Client"; 5 import Client from "./Apollo/Client";
6 6
7 ReactDOM.render( 7 ReactDOM.render(
......