]> Untitled Git - lemmy-ui.git/commitdiff
Remove `noIndent` prop from comment nodes on person view (#1491)
authorAlec Armbruster <35377827+alectrocute@users.noreply.github.com>
Fri, 23 Jun 2023 02:56:51 +0000 (22:56 -0400)
committerGitHub <noreply@github.com>
Fri, 23 Jun 2023 02:56:51 +0000 (22:56 -0400)
* remove noIdent prop from person details comment nodes

* remove noIndent prop from usage in Inbox

src/shared/components/person/inbox.tsx
src/shared/components/person/person-details.tsx

index 062fc01c5e7bdb70b17a16f613b9ac498f646d2d..395875be4c49b975a3c3364ee99ee7c120115d95 100644 (file)
@@ -449,7 +449,6 @@ export class Inbox extends Component<any, InboxState> {
             ]}
             viewType={CommentViewType.Flat}
             finished={this.state.finished}
-            noIndent
             markable
             showCommunity
             showContext
@@ -489,7 +488,6 @@ export class Inbox extends Component<any, InboxState> {
             ]}
             finished={this.state.finished}
             viewType={CommentViewType.Flat}
-            noIndent
             markable
             showCommunity
             showContext
@@ -567,7 +565,6 @@ export class Inbox extends Component<any, InboxState> {
               nodes={commentsToFlatNodes(replies)}
               viewType={CommentViewType.Flat}
               finished={this.state.finished}
-              noIndent
               markable
               showCommunity
               showContext
@@ -617,7 +614,6 @@ export class Inbox extends Component<any, InboxState> {
                 nodes={[{ comment_view: umv, children: [], depth: 0 }]}
                 viewType={CommentViewType.Flat}
                 finished={this.state.finished}
-                noIndent
                 markable
                 showCommunity
                 showContext
index 3771b844a18f7a0040a7d9a05bcd60c83b3a596d..b2b74b6e4ad0ea95b2b4d410923f355456befa47 100644 (file)
@@ -145,7 +145,6 @@ export class PersonDetails extends Component<PersonDetailsProps, any> {
             finished={this.props.finished}
             admins={this.props.admins}
             noBorder
-            noIndent
             showCommunity
             showContext
             enableDownvotes={this.props.enableDownvotes}