Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 780f088

Browse files
authored
Merge pull request #6966 from matrix-org/t3chguy/rs/6600
2 parents 6ea3227 + c0d9c69 commit 780f088

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/views/dialogs/LeaveSpaceDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const LeaveSpaceDialog: React.FC<IProps> = ({ space, onFinished }) => {
100100
primaryButton={_t("Leave space")}
101101
onPrimaryButtonClick={() => onFinished(true, roomsToLeave)}
102102
hasCancel={true}
103-
onCancel={onFinished}
103+
onCancel={() => onFinished(false)}
104104
/>
105105
</BaseDialog>;
106106
};

0 commit comments

Comments
 (0)