Remove comments pagination

This commit is contained in:
riggraz
2019-09-17 15:03:25 +02:00
parent b40ddfd543
commit 476f720119
8 changed files with 7 additions and 37 deletions

View File

@@ -8,8 +8,6 @@ interface Props {
comments: Array<IComment>;
areLoading: boolean;
error: string;
page: number;
haveMore: boolean;
requestComments(postId: number, page?: number);
}
@@ -24,8 +22,6 @@ class CommentsP extends React.Component<Props> {
comments,
areLoading,
error,
page,
haveMore,
} = this.props;
return (

View File

@@ -16,7 +16,6 @@ interface Props {
authenticityToken: string;
requestPost(postId: number): void;
requestComments(postId: number, page?: number): void;
changePostStatus(
postId: number,
newPostStatusId: number,