joyent-portal/packages/my-joy-beta/src/mocks/store.js
2017-11-14 16:03:30 +00:00

10 lines
248 B
JavaScript

import React from 'react';
import { client, store } from '@root/state/store';
import { ApolloProvider } from 'react-apollo';
export default ({ children }) => (
<ApolloProvider client={client} store={store}>
{children}
</ApolloProvider>
);