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} /> ;