WIP for Job Costing BOD-192
This commit is contained in:
@@ -108,12 +108,17 @@ if (process.env.NODE_ENV === "development") {
|
||||
|
||||
middlewares.push(retryLink.concat(errorLink.concat(authLink.concat(link))));
|
||||
|
||||
const cache = new InMemoryCache();
|
||||
const cache = new InMemoryCache({});
|
||||
|
||||
export const client = new ApolloClient({
|
||||
link: ApolloLink.from(middlewares),
|
||||
cache,
|
||||
connectToDevTools: process.env.NODE_ENV !== "production",
|
||||
defaultOptions: {
|
||||
watchQuery: {
|
||||
fetchPolicy: "cache-and-network",
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
export default function AppContainer() {
|
||||
|
||||
Reference in New Issue
Block a user