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,12 +9,18 @@ const StateLabel = ({ commentCid, className }) => {
|
||||
|
||||
return (
|
||||
comment.state === "succeeded" ? null : (
|
||||
<span className={className}>
|
||||
<>
|
||||
<br />
|
||||
{stateString || comment.state.charAt(0).toUpperCase() + comment.state.slice(1)}
|
||||
</>
|
||||
</span>
|
||||
comment.state === "initializing" ? null : (
|
||||
<span className="ttl">
|
||||
<>
|
||||
<br />
|
||||
(
|
||||
<span className={className}>
|
||||
{stateString}
|
||||
</span>
|
||||
)
|
||||
</>
|
||||
</span>
|
||||
)
|
||||
)
|
||||
)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user