@@ -24,7 +24,7 @@ const Video = (props: {}) => {
if (!providers?.length) return "";
const alt = `${id} ${videoMedia.title}`;
- const url = providers[0].operators[0].metadata.nodeEndpoint;
+ const url = providers[0].operators[0]?.metadata.nodeEndpoint ?? null;
return (
<div
@@ -45,7 +45,7 @@ const Status = (props) => {
<div className="col-2 text-right">{missing}</div>
</div>
<Row
- min={proposals.filter((p) => p && p.votesByAccount).length}
+ min={proposals?.filter((p) => p && p.votesByAccount).length ?? 0}
max={status.proposals}
label="Proposals"
/>