Resolve issue for temp uploads & add search.

This commit is contained in:
Patrick Fic
2021-05-13 09:39:29 -07:00
parent bdf7390678
commit b6155c6a85
11 changed files with 230 additions and 185 deletions

View File

@@ -128,10 +128,11 @@ export const client = new ApolloClient({
//link: from([apolloLogger, errorLink, authLink, link]),
link: from([authLink, link]),
cache,
// connectToDevTools: process.env.NODE_ENV !== "production",
// defaultOptions: {
// watchQuery: {
// fetchPolicy: "cache-and-network",
// },
// },
defaultOptions: {
watchQuery: {
fetchPolicy: "network-only",
},
},
});