2017-09-20 12:30:53 +03:00
|
|
|
import React from 'react';
|
2017-11-09 13:27:32 +02:00
|
|
|
import { client, store } from '@root/state/store';
|
2017-09-20 12:30:53 +03:00
|
|
|
import { ApolloProvider } from 'react-apollo';
|
|
|
|
|
|
|
|
export default ({ children }) => (
|
|
|
|
<ApolloProvider client={client} store={store}>
|
|
|
|
{children}
|
|
|
|
</ApolloProvider>
|
|
|
|
);
|