Commit b3b7b732 authored by amarcic's avatar amarcic
Browse files

added Apollo provider

parent df8fb183
......@@ -13,6 +13,7 @@ import { ApolloClient } from "apollo-client";
import { InMemoryCache } from "apollo-cache-inmemory";
import { HttpLink } from "apollo-link-http";
import gql from "graphql-tag";
import { ApolloProvider } from "@apollo/react-hooks";
const App = () => {
......@@ -67,11 +68,9 @@ const App = () => {
<CssBaseline />
<PageHeader />
<h1>{t('EntangledAfrica1')}: {t('EntangledAfrica2')}</h1>
{/*<div>
<span>{labels.HelloWorld[settings.language]}</span><br />
<HelloComputerButton />
<button type="button" onClick={() => onSwitchLanguages(settings.language)} >Switch</button>
</div>*/}
<ApolloProvider client={client}>
soon you will find a map with nice controls here
</ApolloProvider>
</SettingsContext.Provider>
);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment