Created
December 2, 2019 19:39
-
-
Save duanebester/6eda0bff92f22f895e9ba825a12acc31 to your computer and use it in GitHub Desktop.
App 1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const client = new ApolloClient({ | |
uri: "http://localhost:8080/graphql" | |
}); | |
// inside function App() | |
return ( | |
<div className="App"> | |
<ApolloProvider client={client}> | |
<Map | |
{...mapConfig} | |
zoom={mapState.zoom} | |
> | |
</Map> | |
</ApolloProvider> | |
</div> | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment