Continuing updating the reformatting of propTypes and set redux, intl functions to end of component
• Removing: - the reformatting of propTypes and set redux, intl functions to end of component
This commit is contained in:
@@ -8,14 +8,7 @@ import ScrollableList from './scrollable_list'
|
||||
import Text from './text'
|
||||
import Dummy from './dummy'
|
||||
|
||||
export default class CommentList extends ImmutablePureComponent {
|
||||
|
||||
static propTypes = {
|
||||
commentsLimited: PropTypes.bool,
|
||||
descendants: ImmutablePropTypes.list,
|
||||
onViewComments: PropTypes.func.isRequired,
|
||||
ancestorAccountId: PropTypes.string.isRequired,
|
||||
}
|
||||
class CommentList extends ImmutablePureComponent {
|
||||
|
||||
render() {
|
||||
const {
|
||||
@@ -72,4 +65,13 @@ export default class CommentList extends ImmutablePureComponent {
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
CommentList.propTypes = {
|
||||
commentsLimited: PropTypes.bool,
|
||||
descendants: ImmutablePropTypes.list,
|
||||
onViewComments: PropTypes.func.isRequired,
|
||||
ancestorAccountId: PropTypes.string.isRequired,
|
||||
}
|
||||
|
||||
export default CommentList
|
||||
Reference in New Issue
Block a user