diff --git a/src/components/views/dialogs/LeaveSpaceDialog.tsx b/src/components/views/dialogs/LeaveSpaceDialog.tsx index ffad4a22a2..af29f18fdb 100644 --- a/src/components/views/dialogs/LeaveSpaceDialog.tsx +++ b/src/components/views/dialogs/LeaveSpaceDialog.tsx @@ -109,11 +109,7 @@ const LeaveRoomsPicker = ({ space, roomsToLeave, setRoomsToLeave }) => { } if (spaceChildren.length < 1) { - return
- 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 }) } -
; + return null; } return
diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 101e8b088d..e317a0c071 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -2334,7 +2334,6 @@ "You will leave all subspaces and rooms in .": "You will leave all subspaces and rooms in .", "You'll still be a part of all rooms and subspaces in you've joined.": "You'll still be a part of all rooms and subspaces in you've joined.", "Pick which rooms and subspaces you want to leave.": "Pick which rooms and subspaces you want to leave.", - "Are you sure you want to leave %(spaceName)s? You won't be able to rejoin unless you are re-invited": "Are you sure you want to leave %(spaceName)s? You won't be able to rejoin unless you are re-invited", "Choose which rooms you wish to leave": "Choose which rooms you wish to leave", "Leave all subspaces and rooms": "Leave all subspaces and rooms", "Don't leave any": "Don't leave any",