diff options
Diffstat (limited to 'webui/src/index.js')
-rw-r--r-- | webui/src/index.js | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/webui/src/index.js b/webui/src/index.js index c34cc7cc..f5d95ccc 100644 --- a/webui/src/index.js +++ b/webui/src/index.js @@ -1,23 +1,23 @@ -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 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 -}) + uri: '/graphql', + connectToDevTools: true, +}); ReactDOM.render( <ApolloProvider client={client}> <BrowserRouter> <React.Fragment> - <App/> + <App /> </React.Fragment> </BrowserRouter> </ApolloProvider>, document.getElementById('root') -) +); |