Remainder of menu refactoring updates.
This commit is contained in:
@@ -142,7 +142,7 @@ middlewares.push(
|
||||
|
||||
const cache = new InMemoryCache({});
|
||||
|
||||
export default new ApolloClient({
|
||||
const c = new ApolloClient({
|
||||
link: ApolloLink.from(middlewares),
|
||||
cache,
|
||||
connectToDevTools: process.env.NODE_ENV !== "production",
|
||||
@@ -161,3 +161,5 @@ export default new ApolloClient({
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
export default c;
|
||||
|
||||
Reference in New Issue
Block a user