2017-06-06 16:30:43 +03:00
|
|
|
import React from 'react';
|
|
|
|
import { client, store } from '@state/store';
|
|
|
|
import { ApolloProvider } from 'react-apollo';
|
|
|
|
|
2017-08-28 22:21:08 +03:00
|
|
|
export default ({ children }) => (
|
2017-07-26 17:28:14 +03:00
|
|
|
<ApolloProvider client={client} store={store}>
|
|
|
|
{children}
|
2017-08-28 22:21:08 +03:00
|
|
|
</ApolloProvider>
|
|
|
|
);
|