Merge pull request #6966 from matrix-org/t3chguy/rs/6600

pull/21833/head
Michael Telatynski 2021-10-19 08:16:11 +01:00 committed by GitHub
commit 780f088c5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ const LeaveSpaceDialog: React.FC<IProps> = ({ space, onFinished }) => {
primaryButton={_t("Leave space")}
onPrimaryButtonClick={() => onFinished(true, roomsToLeave)}
hasCancel={true}
onCancel={onFinished}
onCancel={() => onFinished(false)}
/>
</BaseDialog>;
};