mirror of https://github.com/vector-im/riot-web
Update src/components/views/rooms/RoomList.tsx
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>pull/21833/head
parent
4d7980eb07
commit
d26fcb7f16
|
@ -260,7 +260,7 @@ export default class RoomList extends React.Component<IProps, IState> {
|
||||||
// diff the object for changes, so do that.
|
// diff the object for changes, so do that.
|
||||||
const sublists = objectShallowClone(newLists, (k, v) => arrayFastClone(v));
|
const sublists = objectShallowClone(newLists, (k, v) => arrayFastClone(v));
|
||||||
|
|
||||||
this.setState({sublists: sublists}, () => {
|
this.setState({sublists}, () => {
|
||||||
this.props.onResize();
|
this.props.onResize();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue