From bb5f62edce79bf27e1dab35a5bd6a6f1bc2b450d Mon Sep 17 00:00:00 2001 From: Charlie Calendre <57274151+c-cal@users.noreply.github.com> Date: Tue, 15 Feb 2022 14:53:20 +0100 Subject: [PATCH] Fix add existing space not showing any spaces (#7801) --- src/components/structures/SpaceRoomView.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/structures/SpaceRoomView.tsx b/src/components/structures/SpaceRoomView.tsx index a1df9930a4..c654dab755 100644 --- a/src/components/structures/SpaceRoomView.tsx +++ b/src/components/structures/SpaceRoomView.tsx @@ -63,7 +63,6 @@ import { AddExistingToSpace, defaultDmsRenderer, defaultRoomsRenderer, - defaultSpacesRenderer, } from "../views/dialogs/AddExistingToSpaceDialog"; import { ChevronFace, ContextMenuButton, useContextMenu } from "./ContextMenu"; import IconizedContextMenu, { @@ -614,7 +613,6 @@ const SpaceAddExistingRooms = ({ space, onFinished }) => { filterPlaceholder={_t("Search for rooms or spaces")} onFinished={onFinished} roomsRenderer={defaultRoomsRenderer} - spacesRenderer={defaultSpacesRenderer} dmsRenderer={defaultDmsRenderer} /> ;