fix: ignore erroring epoch 0 data node endpoint (#1046)

This commit is contained in:
Edd 2022-08-16 12:42:10 +01:00 committed by GitHub
parent f8ce70b8fa
commit 3f474303b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,7 +87,10 @@ const nodeListGridStyles = `
export const NodeList = ({ epoch }: NodeListProps) => {
const { t } = useTranslation();
const { data, error, loading, refetch } = useQuery<Nodes>(NODES_QUERY);
// errorPolicy due to vegaprotocol/vega issue 5898
const { data, error, loading, refetch } = useQuery<Nodes>(NODES_QUERY, {
errorPolicy: 'ignore',
});
const navigate = useNavigate();
useEffect(() => {