chore: ignore apollo errors - to be reverted after API will be fixed (#1407)
This commit is contained in:
parent
cc7a4f2ddd
commit
efc1d909b3
@ -17,6 +17,7 @@ export const PageQueryContainer = <TData, TVariables = OperationVariables>({
|
|||||||
}: PageQueryContainerProps<TData, TVariables>) => {
|
}: PageQueryContainerProps<TData, TVariables>) => {
|
||||||
const { data, loading, error } = useQuery<TData, TVariables>(query, {
|
const { data, loading, error } = useQuery<TData, TVariables>(query, {
|
||||||
...options,
|
...options,
|
||||||
|
errorPolicy: 'ignore',
|
||||||
});
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
@ -270,6 +270,7 @@ function makeDataProviderInternal<QueryData, Data, SubscriptionData, Delta>({
|
|||||||
? { ...variables, pagination: { first: pagination.first } }
|
? { ...variables, pagination: { first: pagination.first } }
|
||||||
: variables,
|
: variables,
|
||||||
fetchPolicy,
|
fetchPolicy,
|
||||||
|
errorPolicy: 'ignore',
|
||||||
});
|
});
|
||||||
data = getData(res.data);
|
data = getData(res.data);
|
||||||
if (data && pagination) {
|
if (data && pagination) {
|
||||||
|
Loading…
Reference in New Issue
Block a user