Created
June 4, 2017 03:58
-
-
Save jbaxleyiii/577eb5204e1cb674492e43ab8dbff144 to your computer and use it in GitHub Desktop.
tree error
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
// @flow | |
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}> | |
// $ExpectError property `episode`. Property not found in. See: src/Character.js:43 | |
<Character /> | |
</ApolloProvider>; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment