From: Dessalines Date: Wed, 17 Apr 2019 23:31:08 +0000 (-0700) Subject: Fixing a bug with community pages X-Git-Url: http://these/git/%24%7BgetStaticDir%28%29%7D/styles/%7B%60/%7B%60https:/%7BpictshareAvatarThumbnail%28admin.avatar%29%7D?a=commitdiff_plain;h=3f0ba128bdbd58d9c9f5576eddba04b54735ae31;p=lemmy.git Fixing a bug with community pages --- diff --git a/ui/src/components/post-listings.tsx b/ui/src/components/post-listings.tsx index 224f92ce..8fc19b30 100644 --- a/ui/src/components/post-listings.tsx +++ b/ui/src/components/post-listings.tsx @@ -2,7 +2,7 @@ import { Component, linkEvent } from 'inferno'; import { Link } from 'inferno-router'; import { Subscription } from "rxjs"; import { retryWhen, delay, take } from 'rxjs/operators'; -import { UserOperation, Community as CommunityI, Post, GetPostsForm, SortType, ListingType, GetPostsResponse, CreatePostLikeResponse, CommunityUser} from '../interfaces'; +import { UserOperation, Post, GetPostsForm, SortType, ListingType, GetPostsResponse, CreatePostLikeResponse, CommunityUser} from '../interfaces'; import { WebSocketService, UserService } from '../services'; import { PostListing } from './post-listing'; import { msgOp, fetchLimit } from '../utils'; @@ -12,7 +12,6 @@ interface PostListingsProps { } interface PostListingsState { - community: CommunityI; moderators: Array; posts: Array; sortType: SortType; @@ -25,19 +24,6 @@ export class PostListings extends Component