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

Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
This commit is contained in:
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

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();
});
}