2018-01-17 21:10:39 +02:00
|
|
|
import React from 'react';
|
|
|
|
import { ApolloProvider } from 'react-apollo';
|
|
|
|
import { ThemeProvider } from 'emotion-theming';
|
|
|
|
|
2018-03-22 17:34:49 +02:00
|
|
|
import theme from '@state/theme';
|
2018-01-17 21:10:39 +02:00
|
|
|
|
|
|
|
import { client } from './state';
|
|
|
|
import Header from './header';
|
|
|
|
|
|
|
|
export default () => (
|
|
|
|
<ApolloProvider client={client}>
|
2018-03-22 17:34:49 +02:00
|
|
|
<ThemeProvider theme={theme}>
|
2018-01-17 21:10:39 +02:00
|
|
|
<Header />
|
|
|
|
</ThemeProvider>
|
|
|
|
</ApolloProvider>
|
|
|
|
);
|