mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
Fix state label
This commit is contained in:
@@ -9,14 +9,20 @@ const StateLabel = ({ commentCid, className }) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
comment.state === "succeeded" ? null : (
|
comment.state === "succeeded" ? null : (
|
||||||
<span className={className}>
|
comment.state === "initializing" ? null : (
|
||||||
|
<span className="ttl">
|
||||||
<>
|
<>
|
||||||
<br />
|
<br />
|
||||||
{stateString || comment.state.charAt(0).toUpperCase() + comment.state.slice(1)}
|
(
|
||||||
|
<span className={className}>
|
||||||
|
{stateString}
|
||||||
|
</span>
|
||||||
|
)
|
||||||
</>
|
</>
|
||||||
</span>
|
</span>
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
)
|
||||||
};
|
};
|
||||||
|
|
||||||
export default StateLabel;
|
export default StateLabel;
|
||||||
Reference in New Issue
Block a user