Git ignore
This commit is contained in:
1 parent
f47e08fdcb
commit
75feb94afc
2 files changed
+18
-4
No files matched your search
@@ -0,0 +1,4 @@
|
||||
|
||||
client/node_modules/*
|
||||
server/node_modules/*
|
||||
|
||||
+14
-4
@@ -1,16 +1,26 @@
|
||||
import React, { Component } from 'react';
|
||||
import ApolloClient from 'apollo-boost';
|
||||
import {ApolloProvider} from 'react-apollo';
|
||||
|
||||
// Components
|
||||
|
||||
import UserList from './components/UserList';
|
||||
|
||||
// Apollo Client Setup
|
||||
|
||||
const client = new ApolloClient({
|
||||
uri:'http://localhost:4000/graphql'
|
||||
})
|
||||
|
||||
class App extends Component {
|
||||
render() {
|
||||
return (
|
||||
<div id="main">
|
||||
<h1>Advanced Algos - Users Module</h1>
|
||||
<UserList></UserList>
|
||||
</div>
|
||||
<ApolloProvider client={client}>
|
||||
<div id="main">
|
||||
<h1>Advanced Algos - Users Module</h1>
|
||||
<UserList></UserList>
|
||||
</div>
|
||||
</ApolloProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user