Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Commit

Permalink
turn off flow for now
Browse files Browse the repository at this point in the history
  • Loading branch information
James Baxley committed Oct 23, 2016
1 parent 9dc43a5 commit 8f5ff75
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions examples/base/src/App.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
// @flow
import React, { Component } from 'react';
import ApolloClient, { createNetworkInterface } from 'apollo-client';
import { ApolloProvider } from "../../../lib/src";

import Articles from "./Articles";

class App extends Component {
constructor(...args) {
super(...args);

const networkInterface = createNetworkInterface({ uri: '/graphql' });
this.client = new ApolloClient({ networkInterface });
}
export const networkInterface = createNetworkInterface({ uri: '/graphql' });
export const client = new ApolloClient({ networkInterface });

class App extends Component {
render() {
return (
<ApolloProvider client={this.client}>
<ApolloProvider client={client}>
<Articles />
</ApolloProvider>
);
Expand Down

0 comments on commit 8f5ff75

Please sign in to comment.