Fix some React warnings (#26609)
This commit is contained in:
1 parent
44ba785242
commit
152b10b624
3 files changed
+9
-6
No files matched your search
@@ -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}
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user