Refactoring for 3tier setup BOD-83
This commit is contained in:
@@ -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 };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user