Update src/components/views/rooms/RoomList.tsx

Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
pull/21833/head
Travis Ralston 2020-07-24 11:16:40 -06:00 committed by GitHub
parent 4d7980eb07
commit d26fcb7f16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -260,7 +260,7 @@ export default class RoomList extends React.Component<IProps, IState> {
// 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();
});
}