From c82b9653dd8e490d9b8f3bff547a9f13e799702c Mon Sep 17 00:00:00 2001 From: Bill Date: Wed, 16 Mar 2022 22:24:02 -0400 Subject: [PATCH] Fix room tools --- src/components/room/widgets/room-tools/RoomToolsWidgetView.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/room/widgets/room-tools/RoomToolsWidgetView.tsx b/src/components/room/widgets/room-tools/RoomToolsWidgetView.tsx index b7ded8e4..7041d349 100644 --- a/src/components/room/widgets/room-tools/RoomToolsWidgetView.tsx +++ b/src/components/room/widgets/room-tools/RoomToolsWidgetView.tsx @@ -48,6 +48,8 @@ export const RoomToolsWidgetView: FC<{}> = props => { const parser = event.getParser(); + if(!parser.roomEnter) return; + BatchUpdates(() => { if(roomName !== parser.data.roomName) setRoomName(parser.data.roomName);