Created
September 14, 2018 01:13
-
-
Save johnnykoo84/e05dc9d222bd2b6aef11990974ffb376 to your computer and use it in GitHub Desktop.
This file contains 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
import React from "react"; | |
import ReactDOM from "react-dom"; | |
import { ApolloProvider } from "react-apollo"; | |
import client from "./apollo/client"; | |
import App from "./App"; | |
const wrappedApp = ( | |
<ApolloProvider client={client}> | |
<App /> | |
</ApolloProvider> | |
); | |
ReactDOM.render(wrappedApp, document.getElementById("root")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment