diff --git a/src/components/views/rooms/RoomList.tsx b/src/components/views/rooms/RoomList.tsx index d8ea45eac2..dd8b567c26 100644 --- a/src/components/views/rooms/RoomList.tsx +++ b/src/components/views/rooms/RoomList.tsx @@ -260,7 +260,7 @@ export default class RoomList extends React.Component { // diff the object for changes, so do that. const sublists = objectShallowClone(newLists, (k, v) => arrayFastClone(v)); - this.setState({sublists: sublists}, () => { + this.setState({sublists}, () => { this.props.onResize(); }); }