diff options
Diffstat (limited to 'webui/src/index.js')
-rw-r--r-- | webui/src/index.js | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/webui/src/index.js b/webui/src/index.js index 80b2651d..c34cc7cc 100644 --- a/webui/src/index.js +++ b/webui/src/index.js @@ -1,23 +1,23 @@ -import React from "react"; -import ReactDOM from "react-dom"; -import { BrowserRouter } from "react-router-dom"; -import ApolloClient from "apollo-boost"; -import { ApolloProvider } from "react-apollo"; +import ApolloClient from 'apollo-boost' +import React from 'react' +import { ApolloProvider } from 'react-apollo' +import ReactDOM from 'react-dom' +import { BrowserRouter } from 'react-router-dom' -import App from "./App"; +import App from './App' const client = new ApolloClient({ uri: "/graphql", connectToDevTools: true -}); +}) ReactDOM.render( <ApolloProvider client={client}> <BrowserRouter> <React.Fragment> - <App /> + <App/> </React.Fragment> </BrowserRouter> </ApolloProvider>, - document.getElementById("root") -); + document.getElementById('root') +) |