fix: Make child loading indicator only appear on parent
This commit is contained in:
1 parent
4c3b5fae6a
commit
0fb17f626f
4 files changed
+32
-22
No files matched your search
@@ -4,6 +4,7 @@ export interface CommentNodeI {
|
||||
comment_view: CommentView
|
||||
children: Array<CommentNodeI>
|
||||
depth: number
|
||||
loading?: boolean
|
||||
}
|
||||
|
||||
function getCommentParentId(comment?: Comment): number | undefined {
|
||||
|
||||
Reference in new issue
Block a user