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

This commit is contained in:
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

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