Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
Triz_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
sdy
2020-05-11 12:01:08 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8b4febe77660011627733a5a125259ffc19ab4ad
8b4febe7
1 parent
c40679e1
change react-apollo-hooks to @apollo/react-hooks
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
front/src/Components/App.js
front/src/index.js
front/src/Components/App.js
View file @
8b4febe
import
React
from
"react"
;
import
{
gql
}
from
"apollo-boost"
;
import
{
useQuery
}
from
"
react-apollo
-hooks"
;
import
{
useQuery
}
from
"
@apollo/react
-hooks"
;
import
{
ThemeProvider
}
from
"styled-components"
;
import
GlobalStyles
from
"../Styles/GlobalStyles"
;
import
Helmet
from
"./Helmet"
;
...
...
front/src/index.js
View file @
8b4febe
import
React
from
"react"
;
import
ReactDOM
from
"react-dom"
;
import
App
from
"./Components/App"
;
import
{
ApolloProvider
}
from
"
react-apollo
-hooks"
;
import
{
ApolloProvider
}
from
"
@apollo/react
-hooks"
;
import
Client
from
"./Apollo/Client"
;
ReactDOM
.
render
(
...
...
Please
register
or
login
to post a comment