Fix add existing space not showing any spaces (#7801)

This commit is contained in:
Charlie Calendre 2022-02-15 14:53:20 +01:00 committed by GitHub
parent 0a084601c4
commit bb5f62edce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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