mirror of
https://github.com/wassname/talk.git
synced 2026-07-11 03:37:01 +08:00
typo
This commit is contained in:
@@ -110,7 +110,7 @@ export default class CommentList extends React.Component {
|
||||
if (last(commentIds) === this.state.active) {
|
||||
this.setState({active: commentIds[commentIds.length - 2]});
|
||||
} else {
|
||||
this.setState({active: commentIds[Math.min(commentIds.indexOf(this.state.active) + 1, commentIds.l - 1)]});
|
||||
this.setState({active: commentIds[Math.min(commentIds.indexOf(this.state.active) + 1, commentIds.length - 1)]});
|
||||
}
|
||||
}
|
||||
this.props.onClickAction(action, id, author_id);
|
||||
|
||||
Reference in New Issue
Block a user