mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
Remove comments pagination
This commit is contained in:
@@ -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 (
|
||||
|
||||
@@ -16,7 +16,6 @@ interface Props {
|
||||
authenticityToken: string;
|
||||
|
||||
requestPost(postId: number): void;
|
||||
requestComments(postId: number, page?: number): void;
|
||||
changePostStatus(
|
||||
postId: number,
|
||||
newPostStatusId: number,
|
||||
|
||||
Reference in New Issue
Block a user