Fix some React warnings (#26609)
This commit is contained in:
parent
44ba785242
commit
152b10b624
3 changed files with 9 additions and 6 deletions
|
@ -568,7 +568,7 @@ class Status extends ImmutablePureComponent {
|
|||
onMoveUp={this.handleMoveUp}
|
||||
onMoveDown={this.handleMoveDown}
|
||||
contextType='thread'
|
||||
previousId={i > 0 && list.get(i - 1)}
|
||||
previousId={i > 0 ? list.get(i - 1) : undefined}
|
||||
nextId={list.get(i + 1) || (ancestors && statusId)}
|
||||
rootId={statusId}
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue