return (
<div>
{this.posts.length > 0 ? (
- this.posts.map(post_view => (
+ this.posts.map((post_view: PostView, idx: number) => (
<>
<PostListing
post_view={post_view}
onAddAdmin={this.props.onAddAdmin}
onTransferCommunity={this.props.onTransferCommunity}
/>
- <hr className="my-3" />
+ {idx + 1 !== this.posts.length && (
+ <hr className="my-3 border border-primary" />
+ )}
</>
))
) : (