From a5d827c44608a41f2cc9cc39213e852059505493 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 10 Nov 2020 01:22:30 +0000 Subject: [PATCH] Update src/components/views/rooms/RoomList.tsx Co-authored-by: Travis Ralston --- src/components/views/rooms/RoomList.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/views/rooms/RoomList.tsx b/src/components/views/rooms/RoomList.tsx index b099beee08..d952c137cd 100644 --- a/src/components/views/rooms/RoomList.tsx +++ b/src/components/views/rooms/RoomList.tsx @@ -332,6 +332,7 @@ export default class RoomList extends React.PureComponent { return p; }, [] as TagID[]); + // show a skeleton UI if the user is in no rooms const showSkeleton = Object.values(RoomListStore.instance.unfilteredLists).every(list => !list?.length); for (const orderedTagId of tagOrder) {