]> Untitled Git - lemmy-ui.git/commitdiff
remove explicit types
authorayan4m1 <andrew@bulletlogic.com>
Thu, 15 Jun 2023 12:31:36 +0000 (08:31 -0400)
committerayan4m1 <andrew@bulletlogic.com>
Thu, 15 Jun 2023 12:31:36 +0000 (08:31 -0400)
src/shared/components/post/post-listings.tsx

index 294b9494493238feeb93d03792d5a6ba392e01a6..00370f039bfea8b104d206e1fcf497e27e400501 100644 (file)
@@ -68,7 +68,7 @@ export class PostListings extends Component<PostListingsProps, any> {
     return (
       <div>
         {this.posts.length > 0 ? (
-          this.posts.map((post_view: PostView, idx: number) => (
+          this.posts.map((post_view, idx) => (
             <>
               <PostListing
                 post_view={post_view}