Skip to content

Instantly share code, notes, and snippets.

@jbaxleyiii
Created July 19, 2017 03:13
Show Gist options
  • Save jbaxleyiii/6522a8c13817842235c3124062f47ac9 to your computer and use it in GitHub Desktop.
Save jbaxleyiii/6522a8c13817842235c3124062f47ac9 to your computer and use it in GitHub Desktop.
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