mirror of
https://github.com/yldio/copilot.git
synced 2024-11-15 15:50:06 +02:00
20 lines
422 B
JavaScript
20 lines
422 B
JavaScript
|
import React, { Component } from 'react';
|
||
|
import { ApolloProvider } from 'react-apollo';
|
||
|
import { client, store } from './state/store';
|
||
|
import Router from './router';
|
||
|
|
||
|
class App extends Component {
|
||
|
render() {
|
||
|
return (
|
||
|
<ApolloProvider client={client} store={store} >
|
||
|
<div>
|
||
|
<h2>Apollo Redux Spike</h2>
|
||
|
{Router}
|
||
|
</div>
|
||
|
</ApolloProvider>
|
||
|
);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default App;
|