fix: ignore erroring epoch 0 data node endpoint (#1046)
This commit is contained in:
parent
f8ce70b8fa
commit
3f474303b5
@ -87,7 +87,10 @@ const nodeListGridStyles = `
|
|||||||
|
|
||||||
export const NodeList = ({ epoch }: NodeListProps) => {
|
export const NodeList = ({ epoch }: NodeListProps) => {
|
||||||
const { t } = useTranslation();
|
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();
|
const navigate = useNavigate();
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user