import React, { Component } from 'react' import { ApolloProvider } from 'react-apollo' import { Rehydrated } from 'aws-appsync-react' const withApollo = (Comp, getClientFunc) => { class Wrapper extends Component { render() { const client = getClientFunc() return ( ) } } return Wrapper } export { withApollo }