Merge branch 'chore/ignore-apollo-errors' of github.com:vegaprotocol/frontend-monorepo into develop

This commit is contained in:
Madalina Raicu 2022-09-21 13:55:29 +01:00
commit 3fba50ded7
No known key found for this signature in database
GPG Key ID: 688B7B31149C1DCD
2 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@ export const PageQueryContainer = <TData, TVariables = OperationVariables>({
}: PageQueryContainerProps<TData, TVariables>) => {
const { data, loading, error } = useQuery<TData, TVariables>(query, {
...options,
errorPolicy: 'ignore',
});
return (

View File

@ -270,6 +270,7 @@ function makeDataProviderInternal<QueryData, Data, SubscriptionData, Delta>({
? { ...variables, pagination: { first: pagination.first } }
: variables,
fetchPolicy,
errorPolicy: 'ignore',
});
data = getData(res.data);
if (data && pagination) {