From d26fcb7f16f51fa6e301245c9797156ffb8ec7c1 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Fri, 24 Jul 2020 11:16:40 -0600 Subject: [PATCH] Update src/components/views/rooms/RoomList.tsx Co-authored-by: J. Ryan Stinnett --- src/components/views/rooms/RoomList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }); }