Fixing a bug with listing type

This commit is contained in:
Dessalines 2019-04-17 12:58:14 -07:00
parent f9bf4ad7e3
commit e1289050fa

View file

@ -153,7 +153,7 @@ export class PostListings extends Component<PostListingsProps, PostListingsState
page: this.state.page,
limit: fetchLimit,
sort: SortType[this.state.sortType],
type_: ListingType[ListingType.Community]
type_: ListingType[this.state.type_]
}
WebSocketService.Instance.getPosts(getPostsForm);
}