fix: dodgey poposals should not crash the governance page on exlporer (#721)
This commit is contained in:
parent
c7e65080b7
commit
e11f345951
@ -101,7 +101,9 @@ const PROPOSAL_QUERY = gql`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
const Governance = () => {
|
const Governance = () => {
|
||||||
const { data } = useQuery<ProposalsQuery>(PROPOSAL_QUERY);
|
const { data } = useQuery<ProposalsQuery>(PROPOSAL_QUERY, {
|
||||||
|
errorPolicy: 'ignore',
|
||||||
|
});
|
||||||
|
|
||||||
if (!data) return null;
|
if (!data) return null;
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user