diff --git a/src/components/StateLabel.jsx b/src/components/StateLabel.jsx index 86a73fb9..9a34357f 100644 --- a/src/components/StateLabel.jsx +++ b/src/components/StateLabel.jsx @@ -12,6 +12,16 @@ const StateLabel = ({ commentCid, className }) => { return ( !commentCid && stateString !== "Succeeded" ? ( + comment.state === "failed" ? ( + +
+ ( + + Failed + + ) +
+ ) : (
( @@ -20,6 +30,7 @@ const StateLabel = ({ commentCid, className }) => {
) + ) ) : null ); };