mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix commentIndex for StateLabel and add timer
This commit is contained in:
@@ -972,7 +972,7 @@ const Thread = () => {
|
||||
commentCid={comment.cid}
|
||||
className="ttl"/>
|
||||
<StateLabel key={`state-label-thread-${index}`}
|
||||
commentCid={comment.cid}
|
||||
commentIndex={comment.index}
|
||||
className="ttl ellipsis"/>
|
||||
</blockquote>
|
||||
</div>
|
||||
@@ -1251,7 +1251,7 @@ const Thread = () => {
|
||||
commentCid={reply.cid}
|
||||
className="ttl"/>
|
||||
<StateLabel key={`state-label-reply-${index}`}
|
||||
commentCid={reply.cid}
|
||||
commentIndex={reply.index}
|
||||
className="ttl ellipsis"/>
|
||||
</blockquote>
|
||||
</div>
|
||||
@@ -1374,7 +1374,7 @@ const Thread = () => {
|
||||
commentCid={comment.cid}
|
||||
className="ttl"/>
|
||||
<StateLabel key={`state-label-thread-mob-${index}`}
|
||||
commentCid={comment.cid}
|
||||
commentIndex={comment.index}
|
||||
className="ttl ellipsis"/>
|
||||
</>
|
||||
) : null}
|
||||
@@ -1499,7 +1499,7 @@ const Thread = () => {
|
||||
commentCid={reply.cid}
|
||||
className="ttl"/>
|
||||
<StateLabel key={`state-label-reply-mob-${index}`}
|
||||
commentCid={reply.cid}
|
||||
commentIndex={reply.index}
|
||||
className="ttl ellipsis"/>
|
||||
</blockquote>
|
||||
{reply.replyCount > 0 ? (
|
||||
|
||||
Reference in New Issue
Block a user