Refactoring for 3tier setup BOD-83

This commit is contained in:
Patrick Fic
2020-05-29 17:31:28 -07:00
parent e7da6700b7
commit 5564b5dc4a
28 changed files with 742 additions and 140 deletions

View File

@@ -41,6 +41,7 @@ const wsLink = new WebSocketLink({
},
},
});
const subscriptionMiddleware = {
applyMiddleware: async (options, next) => {
options.authToken =
@@ -118,7 +119,6 @@ export const client = new ApolloClient({
export default class AppContainer extends Component {
constructor() {
super();
this.state = { client };
}