Avoid double updating: setting the state will cause a re-render so forcing an update is redundant. Also bump js sdk dep to newest to match vector.
This commit is contained in:
@@ -75,9 +75,6 @@ module.exports = {
|
||||
|
||||
if (tile) {
|
||||
self._updateList(); // reorder the membership list
|
||||
self.forceUpdate(); // FIXME: is the a more efficient way of reordering with react?
|
||||
// XXX: do we even need to do this, or is it done by the main list?
|
||||
tile.forceUpdate();
|
||||
}
|
||||
}
|
||||
// FIXME: we should probably also reset 'lastActiveAgo' to zero whenever
|
||||
|
||||
Reference in New Issue
Block a user