error handling

This commit is contained in:
Yana
2025-02-26 19:12:44 +02:00
parent 6a70193bdf
commit 68ffc797a7
@@ -189,7 +189,7 @@ export const NodeRoleCard = ({ id }: INodeRoleCardProps) => {
);
}
if (isError || !nodeInfo || !epochRewardsData) {
if (isError || !nodeInfo || !epochRewardsData || isEpochError) {
return (
<ExplorerCard label="Node role & performance">
<Typography variant="h3" sx={{ color: "pine.950" }}>