Added app reducer, fixed package issues, begun camera screen updates

This commit is contained in:
Patrick Fic
2020-11-09 18:43:59 -08:00
parent 86744ff29a
commit ab1e04f564
22 changed files with 653 additions and 68 deletions

View File

@@ -42,15 +42,15 @@ const wsLink = new WebSocketLink({
const errorLink = onError(
({ graphQLErrors, networkError, operation, forward }) => {
console.log(graphQLErrors);
console.error(graphQLErrors);
if (graphQLErrors)
graphQLErrors.forEach(({ message, locations, path }) =>
console.log(
console.error(
`[GraphQL error]: Message: ${message}, Location: ${locations}, Path: ${path}`
)
);
if (networkError)
console.log(`[Network error]: ${JSON.stringify(networkError)}`);
console.error(`[Network error]: ${JSON.stringify(networkError)}`);
console.log(operation.getContext());
}
);