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-04-10 13:46:07 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8571ed5d7ba07e059a44ef93e5ca37fa13e351cc
8571ed5d
1 parent
eb04f335
add apolloprovider
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
front/src/index.js
front/src/index.js
View file @
8571ed5
import
React
from
"react"
;
import
ReactDOM
from
"react-dom"
;
import
App
from
"./Components/App"
;
import
{
ApolloProvider
}
from
"react-apollo-hooks"
;
import
Client
from
"./Apollo/Client"
;
ReactDOM
.
render
(
<
App
/>
,
document
.
getElementById
(
"root"
));
ReactDOM
.
render
(
<
ApolloProvider
client
=
{
Client
}
>
<
App
/>
<
/ApolloProvider>
,
document
.
getElementById
(
"root"
)
);
...
...
Please
register
or
login
to post a comment