remove duplicated content

This commit is contained in:
Michael Telatynski 2021-07-21 10:17:09 +01:00
parent 1b2d70d816
commit bc87dc3c56
2 changed files with 1 additions and 6 deletions

View file

@ -109,11 +109,7 @@ const LeaveRoomsPicker = ({ space, roomsToLeave, setRoomsToLeave }) => {
}
if (spaceChildren.length < 1) {
return <div>
BOLD:
{ _t("Are you sure you want to leave %(spaceName)s? " +
"You won't be able to rejoin unless you are re-invited", { spaceName: space.name }) }
</div>;
return null;
}
return <div className="mx_LeaveSpaceDialog_section">