Created
July 19, 2017 03:13
-
-
Save jbaxleyiii/6522a8c13817842235c3124062f47ac9 to your computer and use it in GitHub Desktop.
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
import React from "react"; | |
import ApolloClient, { createNetworkInterface } from "apollo-client"; | |
import { ApolloProvider } from "react-apollo"; | |
import Character from "./Character"; | |
export const networkInterface = createNetworkInterface({ | |
uri: "https://mpjk0plp9.lp.gql.zone/graphql", | |
}); | |
export const client = new ApolloClient({ networkInterface }); | |
export default () => | |
<ApolloProvider client={client}> | |
// Type '{}' is not assignable to type 'Readonly<InputProps>'. | |
// Property 'episode' is missing in type '{}'. | |
<Character /> | |
</ApolloProvider>; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment